Wed May 17 16:16:24 2006
Ticket #60 (Closed: fixed)
Add function that works like unittest.main(): collects tests in __main__ only
| Priority: | normal | Reporter: | jpellerin |
|---|---|---|---|
| Severity: | normal | Assigned to: | jpellerin |
| Component: | nose | Status: | closed |
| Version: | 0.9.1 | Resolution: | fixed |
| Milestone: | 0.9.1 | Keywords: |
Description by jpellerin:
Add a function to core that works like unittest.main, that is, collects test in main only. Usage would be like:
import nose def test_a(): pass def test_b(): pass if __name__ == '__main__': nose.runtests()
Changelog
Wed May 17 16:16:41 2006: Modified by jpellerin
- status changed from new to assigned
Thu Jun 22 18:30:07 2006: Modified by jpellerin
- milestone changed from 1.0 to 0.9.1
- version changed from 1.0 to 0.9.1
Wed Jul 12 20:56:32 2006: Modified by jpellerin
- resolution set to fixed
- status changed from assigned to closed

Done in [77].