Following the dictat of my users... a new twill release!
Links: Cheese Shop entry, announcement, ChangeLog, and download.
There are lots of bug fixes -- cold filtered for a smooth browsing experience. The main innovation in this release is the unit testing: now, twill uses nose-based unit testing, and it also provides some simple commands to help users use twill to unit test their own apps.
Sample unit-test code:
import os
import testlib
import twill.unit
import twilltestserver
from quixote.server.simple_server import run as quixote_run
def test():
# port to run the server on
PORT=8090
# create a function to run the server
def run_server_fn():
quixote_run(twilltestserver.create_publisher, port=PORT)
# abspath to the script
script = os.path.join(testlib.testdir, 'test-unit-support.twill')
# create test_info object
test_info = twill.unit.TestInfo(script, run_server_fn, PORT)
# run tests!
twill.unit.run_test(test_info)
(See unit testing with twill for more info.)
Comments welcome...
--titus
