Build/Test Issues

Nested xUnit tests ignored

Started by landy on 8,197 views

Hi, I'm trying NCrunch and I have some issue with tests inside nested classes. NCrunch seems to ignore those tests.

screen of my VS with test results:
http://imageshack.us/photo/my-images/214/ncrunchnested.png/

Edited

Hi,

Thanks for posting!

NCrunch uses Gallio for Xunit integration under the hood, and the integration between these frameworks currently doesn't support the identification of nested Xunit tests while using static analysis. To work around this, you can change the 'Framework utilisation type for Gallio/Xunit' under your solution settings to 'UseDynamicAnalysis', though note that this will likely have an impact on the processing speed of NCrunch.


Cheers,

Remco
Thx for quick response :)
Hi,

I'm experiencing this as well. Will you fix this in a later release?

cheers,

--larsw
Hi Larsw -

The cause of this problem sits between the integration with Gallio and Xunit - it isn't actually part of NCrunch. Sadly this means that the most effective way to fix the problem would be to introduce an integration point directly between NCrunch and Xunit, which would require quite a bit of investment. I can't commit to fixing this in the short term, though as for the long term, we'll have to see :)


Cheers,

Remco

Post a reply

Log in to reply.