This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 173134 - Test Runner: "Test Project" does not report errors in imported modules
Summary: Test Runner: "Test Project" does not report errors in imported modules
Status: CLOSED WONTFIX
Alias: None
Product: python
Classification: Unclassified
Component: Testing (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-25 20:18 UTC by dhalbert
Modified: 2017-06-23 08:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dhalbert 2009-09-25 20:18:00 UTC
Running a "Test Project" silently skips over errors in imported modules: If a unit test module imports a code module
that has an error (e.g., a syntax error), that unit test module will just be skipped, but Test Runner doesn't report any
problems.

For instance, if I have a set of 21 unit test functions in several modules, a good run might say "All 21 tests passed".
But if one of the unit test modules imports something that has an error, I might get a message like "All 14 tests
passed". There is no clue that 7 tests have been skipped because of an error. I have to remember the total number of
unit tests in a good run.

When running a single "Test File", this is not a problem, because I see "No tests executed" in the left-hand test output
pane, and a transcript in the right-hand pane that shows the error.
Comment 1 Jenselme 2017-06-22 21:59:27 UTC
Running tests need work. We are planing to do this. This will be tracked elsewhere. Closing this old bug.
Comment 2 Jiri Kovalsky 2017-06-23 08:06:03 UTC
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.