How do I code lots of simple tests
Jeremy Fincher
tweedgeezer at hotmail.com
Wed Oct 22 00:46:31 EDT 2003
More information about the Python-list mailing list
Wed Oct 22 00:46:31 EDT 2003
- Previous message (by thread): Unittest - How do I code lots of simple tests
- Next message (by thread): Unittest - How do I code lots of simple tests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Paul Moore <pf_moore at yahoo.co.uk> wrote in message news:<brsawdmh.fsf at yahoo.co.uk>... > 1. If a test fails, the rest are skipped! If there's a pattern to the > failures (the code handles numbers ending in 4 and 9 wrongly, for > example) it's much easier to find if all of the checks are > reported. That's true, but most of the time when I test, I prefer that behavior. Many of my asserts depend on the success of the assert prior to them, so I want the test to fail as soon as one of the asserts has failed. It'd be nice to have both possibilities, though. Jeremy
- Previous message (by thread): Unittest - How do I code lots of simple tests
- Next message (by thread): Unittest - How do I code lots of simple tests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list