Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IDE for C# with unit testing (like Eclipse for Java and assertEquals( ... ) etc. )

I'd like to test drive C#, and I've seen several posts about free IDEs for C# (including MonoDevelop).

What I have not seen yet is information about the IDEs' capabilities for unit tests. I've been coding in Java, and am reliant on Eclipse's Unit Testing (assertEquals( ... )) etc.) to develop my desk-top code (I know that Eclipse is not the only way to do unit testing in Java, but it does it well).

Is there a similar functionality with any of the IDEs for C#?

like image 363
Extermiknit Avatar asked Jun 03 '26 01:06

Extermiknit


1 Answers

Can't say I've used any of the free IDEs myself much, but according to this blog post, MonoDevelop supports NUnit pretty well. I'd expect most IDEs to support multiple unit test frameworks to be honest - certainly if I were developing a unit test framework, one of the goals would be IDE integration.

Using NUnit with the free "Express" editions of Visual Studio is possible but somewhat painful, in that it uses the separate NUnit GUI instead of being an integrated runner - but it's still better than nothing, of course.

(Personally I've usually used the Professional versions Visual Studio, with ReSharper and NCrunch running my unit tests.)

like image 193
Jon Skeet Avatar answered Jun 06 '26 05:06

Jon Skeet