c# - NUnit 2.5.6 + PartCover 2.0/4.0 = My Classes Not Shown -
summary: I can run unit tests and code coverage, but only NUnit class in report Are not my application classes.
I have successfully used Partkvar in the past, otherwise this time I tried the latest partakers (4.0), downgrade to the next newest (2.0), both with the annuent 2.5.6.
I created a simple .NET 4.0 class library (this is also a project that is a class library with a web application) with a class in some namespace and in another class in another library Two Test Methods
NUINIT / PartCowers installed correctly; I can participate in NUNIT and through NANIT, and through partcauses (I am running them and can say "pass 2"), but the report only shows me the namesuitue namespace (yes, I + [<] as my coverage rule.)
Any thoughts? The more I like the annuitit, the more I want to see the coverage for my classes: o)
And I also tried to align the test-DLL and code-DLL namespaces for any benefit.
Edit: I tried to run a sample code-covered work with my previous work a year ago; All tests take place, but actual project namespace does not appear. Here's an indication, which indicates that it depends on the version of the annuity you used: (and yes, I've already tried the Appdomain-Reporting checkbox)
I did NUnit 2.5.5.x and 2.5.6.x and both give me similar results.
Edit: It seems that this fork of Official 4.0 version works, though sporadically (Google for PartCover fork, I can not add more hyperlinks) < / P>
Madness is obviously the essence of total pass / failure after pause / breaking after NUnit Print, and the second is waiting for almost a second for the message "Corpoffer is off", all this works.
Of course, this can not be a real solution. Of course, I can rig a batch file that sleeps ~ 1 second after performing NUINT, but it looks like a major hack.
Comments
Post a Comment