This post originated from an RSS feed registered with Python Buzz
by Baiju M.
Original Post: First look at test layers from zope.testing
Feed Title: Programming life without Python(?)
Feed URL: http://baijum81.livejournal.com/data/rss
Feed Description: Programming life without Python(?)
This is an independent testing framework which can be used outside Zope. One of the interesting feature is test layers. I think next Zope 3 release (3.4) will make use test layers heavily, so I started looking at this feature.
When running the script, you will get something like:
Running tests.FirstLayer tests:
Set up tests.FirstLayer in 0.000 seconds.
Ran 1 tests with 0 failures and 0 errors in 0.000 seconds.
Tearing down left over layers:
Tear down tests.FirstLayer in 0.000 seconds.