Tests not being found in VS2012 solution
I have 2 sites currently running on AppVeyor, both have tests in the same place. One is a 2010 solution which is running the tests (NUnit) fine, the other is a 2012 solution converted from 2010 but it is not running any of the unit tests (NUnit) giving a result of 0/0.
Comments are currently closed for this discussion. You can start a new one.
|?||Show this help|
|ESC||Blurs the current field|
|r||Focus the comment reply box|
|^ + ↩||Submit the comment|
You can use
Command ⌘ instead of
Control ^ on Mac
Support Staff 1 Posted by Feodor Fitsner on 09 Jul, 2013 06:52 PM
I'm looking into that now. I will let you know about my findings.
Support Staff 2 Posted by Feodor Fitsner on 09 Jul, 2013 07:41 PM
OK, found it.
There was a problem with "Cloak.NUnit.dll" assembly. To determine what should be tested AppVeyor seeks for assemblies referencing "nunit.framework.dll" and then pass all assemblies to nunit-console.exe as a single command. Cloak.NUnit.dll is referencing nunit.framework.dll of old version 2.5.x causing an exception in NUnit console.
Solution: open project settings, go to "Tests" section, click Add assembly and enter
Cloak.NUnit.dll(add it to the list of excluded assemblies). Save settings. Should work like a charm.
In the meantime I will file a change request to run NUnit separately for each assembly with unit tests.
3 Posted by Francis Gilbert on 09 Jul, 2013 08:43 PM
Wow! Amazing spot! Thanks :). Love the service.
Support Staff 4 Posted by Feodor Fitsner on 09 Jul, 2013 08:48 PM
You're welcome! :)
Feodor Fitsner closed this discussion on 09 Jul, 2013 08:48 PM.