MonoDevelop NUnit doesn't run NUnit tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
monodevelop (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: monodevelop
I have a C# project with a suite of NUnit tests which I've been testing in MonoDevelop. I haven't touched the project in a while, but when I try to run the tests now, none of them run. It appears that something must've changed in recent versions of MonoDevelop NUnit which would cause this. I'm not sure of the last functioning version of MonoDevelop I ran the tests under, but I know it was in Hardy. I can still run the testing in compiled binaries in other programs, such as gnunit.
Steps the reproduce:
-- Launch MonoDevelop and open .mds solution file
-- Select Project > Rebuild Solution (just to be sure)
-- Select View > Unit Tests, and double-click NUnit test project to run tests
-- Select View > Test Results, which shows "Tests: 0 Failed: 0 Ignored: 0"
-- Launch gnunit, and open compiled *.dll containing NUnit test suite
-- Select "Run" to run all tests. The GUI window now shows "Tests (assertions): {not 0}" (in my case, 32 tests are run)
Let me know if you need more details, I'm not sure what the problem could be.
I just did a test by installing previous versions of some monodevelop packages. I can confirm that the latest package versions from Hardy DO run the NUnit tests, and the latest versions in Intrepid DON'T run the tests. Specifically:
Hardy packages which WORK:
monodevelop 1.0+dfsg-1ubuntu3
monodevelop-nunit 1.0+dfsg-1ubuntu3
libnunit2.2.6-cil 2.2.8-1ubuntu2
Intrepid packages which DON'T WORK:
monodevelop 1.0+dfsg-3
monodevelop-nunit 1.0+dfsg-3
In the package changelog, the last two entries have a lot of mentions about linking against "mono-nunit" rather than the bundles nunit-- I would imagine this could be part of the problem.
For reference, the project I am trying to run tests against is maintained in a Launchpad bazaar branch, located at 'lp:pwdhash-sharp'