Release 0.2

After some discussion with David Poole (the driver of NUnit), it appears that:
  • NUnit 3.0 will be more easily updatable for WP7 needs,
  • that the code base can eventually be updated to integrate such target

As a result, and based on NUnitLite framework, I convert NUnit to WP7 framework and review the GUI.
The updated source code is provided as a zip and through launchpad - https://code.launchpad.net/~faz/nunit-3.0/phone

Using NUnit 4 Phone

The release package provides a dll containing a special phone control that will display tests and results.
To use this GUI, you should:
  1. Create a new Windows Phone Application project (The name doesn't matter - but TestRunner is a good candidate)
  2. Add a reference to the NUnit.Phone.Gui library to the project
  3. Edit the MainPage.xaml
  4. Add the component nunit definition: xmlns:nunit="clr-namespace:NUnit.Phone.Gui;assembly=NUnit.Phone.Gui"
  5. Add the component nunit component: <nunit:MainView />
  6. Edit App.xml.cs and configure the test framework by calling the TestManager.Instance.AddAssembly() method for each of your test assemblies.
  7. Start the project

Final Remarks

This release is provided "as this" ans should not lead to a "stable" release ... until WP7 become an "official" target for NUnit.

Screenshots

See Release0.1 for an idea of the result

Last edited Mar 26, 2011 at 3:30 PM by Faz, version 4

Comments

GingerBuffalo Feb 23, 2012 at 6:15 AM 
"Edit App.xml.cs and configure the test framework by calling the TestManager.Instance.AddAssembly() method for each of your test assemblies. "
^ Does "each of your test assemblies" refer to each of the target assemblies being tested? Or the test project assembly itself? (i.e. TestManager.Instance.AddAssembly(Assembly.GetExecutingAssembly());)