nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01624
[Bug 711330] Re: Test-free assembly given failure icon in tree display
** Changed in: nunitv2/trunk
Status: Triaged => Fix Committed
** Changed in: nunitv2/2.5
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/711330
Title:
Test-free assembly given failure icon in tree display
Status in NUnit V2 Test Framework:
Fix Committed
Status in NUnit V2 2.5 series:
Fix Committed
Status in NUnit V2 trunk series:
Fix Committed
Bug description:
A test-free assembly is shown with the failure icon, ie, an X with red
background, in the GUI runner tree display, as is its parent(s).
However, the progress bar is green, as expected (assuming all other
tests pass).
Why would we want to include a test-free assembly? Because we want to
create a single NUnit project for an existing large solution (40+
Visual Studio projects) containing all of its assemblies and
executables. As we progressively add new tests to our product, we
want NUnit to automatically pick them up without anyone having to
remember to make sure the corresponding assembly/executable have been
added to the NUnit project (and Debug/Release configurations).
It is off-putting (to say the least) and misleading for NUnit label such test-free assemblies as failures in the tree display.
It also contradicts what NUnit reports in the rest of the GUI (and when the NUnit project is run with the console runner).
So, I think NUnit should not show test-free assemblies as failures in
the tree display. I think they should count as a success, ie, shown
with a check with green background.
Thanks.
References