Opened 16 years ago
Closed 16 years ago
#10535 closed (duplicate)
No Exception is thrown or output when fixtures are not found
Reported by: | peterbraden | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When a unit test is run with fixtures that do not exist, no error is reported, and thus tests fail for un-obvious reasons.
When setting up tests it is desirable to know about any shortcomings of the tests. It is desired therefore that a traceback is recorded when a bad fixture is specified similar to when an error is thrown when loading the fixtures.
Note:
See TracTickets
for help on using tickets.
It seems this is down to the verbosity being set to 0:
I haven't got time to test/write patch within the next few weeks, but is seems it should be as simple as turning verbosity to 1.