views:

3827

answers:

5

Hi everyone,

I'm just getting started with learning about Unit testing (and TDD in general). My question is does the latest version of NUnit support working in VS2008 with .NET 3.5? I've looked at the documentation pages at NUnit and they don't mention it.

If anyone has worked with it in 3.5 are there any limitations or features that don't work/need workarounds?

Thanks
-J

+6  A: 

I've been using nUnit with 3.5. As long as you have a version that works with 2.0 you should be fine - same CLR and all that. :)

John Christensen
+1  A: 

No limitations that I have found.

chrissie1
+2  A: 

Yes.

.Net 3.5 is mostly re-packaging and marketing. The .Net core within .Net 3.5 is actually .Net 2.0.

So any utility that you find for .Net 2.0 you can also apply to .Net 3.5.

For NUnit this means that the .Net 2 version is the one that you want.

I think .net 3.0 is mostly repackaging. .net 3.5 actaully added some more syntax fun like object and collection initializers. If you want to call compiler updates repackaging, then I guess it fits that description.
casademora
A: 

Yes it does.

Version 2.5.5 works with .NET 4.0 as well.

If you're just starting out, you should know that NUnit is going through some significant changes too. You can see from the new home page that they are maturing NUnit to include some of the new features in .NET.

Nick DeVore