When defining our tests we usually structure our facts as child classes of an overall scenario class like so:
public class MyClassTest
{
public class When_doing_something
{
[Fact]
public void Test_condition()
{
//Assertions
}
}
}
Right now NCrunch doesn't recogize Facts contained in private classes.
Remco NCrunch Developer
#1964
23 May 2012 22:26 UTC
Thanks for posting!
Right now the Gallio adapter NCrunch is using for Xunit tests has a known issue where nested tests will not be found when using static analysis. You can work around this by changing your 'Framework utilisation type for Gallio' to 'DynamicAnalysis' under your NCrunch solution settings.
Cheers,
Remco
Right now the Gallio adapter NCrunch is using for Xunit tests has a known issue where nested tests will not be found when using static analysis. You can work around this by changing your 'Framework utilisation type for Gallio' to 'DynamicAnalysis' under your NCrunch solution settings.
Cheers,
Remco
Deleted post
#2127
09 Jun 2012 01:20 UTC
Post a reply
Log in to reply.