Is it possible to have MSpec & NUnit tests in a single project? -


i've got unit test project using nunit. when add mspec (machine.specifications) assembly references, both resharper , testdriven.net stop running nunit tests , run mspec tests.

is there way or setting allows both nunit & mspec tests co-exist , run in same project using r# & td.net test runners?

i've tested on vs 2008 resharper 5.0 , testdriven.net 3.0 rc2 , following code.

using machine.specifications;  using nunit.framework;  namespace classlibrary1 {     [testfixture]     public class footests     {         [test]         public void bar()         {             assert.istrue(true);         }     }      public class when_tests_are_run     {         should_succeed = () => true.shouldbetrue();     } } 

i cannot reproduce behavior describe resharper. first off, resharper detects both test classes indicated green-and-yellow gutter marks. right-clicking on project , selecting "run unit tests" runs both tests successfully. running them individually via gutter icons works expected.

as testdriven.net, i'm not sure whether supports scenarios multiple test frameworks used within 1 project. when "run test(s)" on project, mspec context executed. however, "run test(s)" while clicking inside nunit testfixture executes nunit test.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -