Changes between Version 6 and Version 7 of TracDev/WritingUnitTests
- Timestamp:
- Sep 25, 2014, 6:17:19 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/WritingUnitTests
v6 v7 65 65 You can use several test methods within a `TestCase` class; they need to start with `test`. When you use method `setUp` it will be executed for each test method. If you only want to "set up" your test environment once of your test case, you need to use class method `setUpClass`. 66 66 67 Note that `setUpClass` and `tearDownClass` are available since Python 2.7. 68 67 69 For example: 68 70 {{{#!py