Build/Test Issues

Tests are not recognized

Started by peitor on 21,334 views

It seems like that nCrunch is not recognizing my tests...
I see only black dots next to the source code and the tests are passing *weird*

See screenshot here
http://uploadpic.org/v.php?img=TQOpCem3V9

[1] Test mit Assert.Fail
[2] Resynchronize doesn't help...
[3] Testdriven.NET works as expected --> Test fails


Hi Peitor -

Thanks for posting this one! NUnit TestCase attributes aren't yet implemented in the current build of NCrunch, though there have been a few people asking after this, so it won't be far away :)


Cheers,

Remco
Alright...

#1 Is there a way I can see a roadmap on planned features?
#2 Is there an email list or feed where I get a ping once a new build gets published?

Great tool!!! BTW
The best choice would be to follow me on twitter - I make NCrunch announcements from there :)

The product roadmap itself is quite variable and it depends on the experiences people have with the tool. The first priority at the moment is to ensure the tool will work across all environments.
As a follow-up for anyone interested, support for TestCase was released in 1.32b of NCrunch and should now be working properly.
TestCase works nicely in 1.32b and 1.33b. However, when I tried using combinatorial tests and parameterized test fixtures in 1.32b NCrunch would not execute the tests. Has 1.33b changed in this area?
The major focus of 1.33b was on support for new test frameworks, so NUnit didn't get as much love this round. I have both the parameterized tests and combinatorial tests on the list for future work in this area, alongside NUnit theories :)
While on the topic of recognizing NUnit tests ...
I'm using version 1.33.0.0b. NCrunch does not find tests on static classes. Static test methods on non static classes are identified successfully.
Hi Blaz,

Thanks for reporting this. Right now NCrunch has only limited support for many of NUnit 2.5's features. I'll put it on the list of things to address.


Cheers,

Remco
For anyone interested, the issue with static tests has been fixed in 1.34b (released today).
Remco wrote:The major focus of 1.33b was on support for new test frameworks, so NUnit didn't get as much love this round. I have both the parameterized tests and combinatorial tests on the list for future work in this area, alongside NUnit theories :)


I'll throw my vote in for parameterized/combinatorial tests as well :-)

I'm using the ValueSource attribute and the Sequential attribute in addition to Combinatorial and Values.

Thanks!

Edited

The 1.35b release that went out this morning should introduce support for the above NUnit features. Please let me know how it goes :)
Remco wrote:The 1.35b release that went out this morning should introduce support for the above NUnit features. Please let me know how it goes :)

Looks like it's working now for me, thanks!

Post a reply

Log in to reply.