Bug 1026 - Test hierarchies are not colored correctly during testing (using Generics)
Summary: Test hierarchies are not colored correctly during testing (using Generics)
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: NUnit ()
Version: Trunk
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2011-09-24 06:42 UTC by IBBoard
Modified: 2011-09-26 05:25 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description IBBoard 2011-09-24 06:42:14 UTC
I think that the Bug 385 fix sorted out the issue with non-generic classes, but it looks like inheriting from generic classes still fails (or possibly fails because of the fix).

I've got an "AbstractEqualityTest" class (http://dev.ibboard.co.uk/projects/ibboard/browser/IBBoard.NUnit/AbstractEqualityTest.cs) that is in its own project. I reference that project in other projects and inherit from it so that I get some stubs to fill out and a set of basic equality tests. The abstract test class uses generics so that methods of the type can be available if necessary.

When using the abstract base class and running the tests for the implementing class, the grey circles in the Unit Tests pad never get a blue circle around them. As with the other bug, the test count initially counts them, but the final test count acts as if they didn't exist (so if there are only those four abstract tests being run against an object, it shows "0/4" but then shows 0 passed, 0 failed and 0 ignored).
Comment 1 Mike Krüger 2011-09-26 05:25:12 UTC
fixed - both cases are working now. I think it's more a bug on the nunit side (but we should update - mono uses a very old version of nunit).