Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
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).
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).