[TIP] Meta-test methods...

Robert Collins robertc at robertcollins.net
Sat Apr 25 17:18:51 PDT 2009


On Sat, 2009-04-25 at 10:52 -0400, Douglas Philips wrote:
> So it is dynamic in the sense of querying the  
> environment in which the test code is being loaded?

It can be as dynamic as desired.

scenarios = some_generator(), for instance.

Processing of them into tests is currently done before execution, rather
than in-execution, because thats easier to understand and work with
(e.g. for countTestCases, progress bars and the like). But as unittest
gets the last 5-6 years of maintenance done to it :), well things in
addons like this may improve.

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.idyll.org/pipermail/testing-in-python/attachments/20090426/8bb8525e/attachment.pgp 


More information about the testing-in-python mailing list