Looking back at some earlier discussions, I see we decided to simply let test suites without any members to fail or pass on their own merits. Even without tests, such a class might have some sort of setup that could run and result in a failure, so it's best to simply execute it.
This change was implemented with respect to TestFixture classes but not for test assemblies. For consistency, it's best that all types of test suites without child tests be treated the same. -- 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: Triaged Status in NUnit V2 2.5 series: Triaged Status in NUnit V2 trunk series: Triaged 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. _______________________________________________ Mailing list: https://launchpad.net/~nunit-core Post to : [email protected] Unsubscribe : https://launchpad.net/~nunit-core More help : https://help.launchpad.net/ListHelp

