I'd like to unit test my Windows Phone 7 libraries with NUnit.
Is there a version of NUnit compatible with Windows Phone 7?
I'd like to unit test my Windows Phone 7 libraries with NUnit.
Is there a version of NUnit compatible with Windows Phone 7?
As Windows Phone 7 is basically just Silverlight 3 I suspect that it will be fine.
There are multiple posts about using NUnit with Silverlight, so give them a try and you will probably have lots of success.
Here is one on using TestDriven.Net and NUnit with Silverlight: http://weblogs.asp.net/nunitaddin/archive/2008/05/01/silverlight-nunit-projects.aspx
You might also look at http://unitdriven.codeplex.com - it is a Silverlight and WP7 unit test framework/runner, that also has an add-in DLL for nunit/mstest so you can write tests and have the same test code run in .NET, Silverlight and WP7.
As long as you are testing non-async behaviors, UnitDriven is pretty compatible with nunit (we built it to run a few hundred pre-existing nunit tests). It does have its own model for async tests - again specifically designed so the same test code runs in .NET, SL and WP7.