This project is read-only.

Release 0.1 - Teaser

After some tests, it appears that converting NUnit to the WP7 framework will be a udge work. As a result, this project is based on the idea that the framework (attributes, assert, contraints ,...) should remain the same but that the core will be rewriten for the WP7 platform.

This approach has the following advantages:
  • The impact of WP7 is limited to the NUnit.Framework project that is quite simple compared to the NUnit.Core,
  • The unit test projects using NUnit can be used in a multi-targeting environment,

... but there is also some issues - in fact there is one issue:
  • Some attributes will not be interpreted - or could be interpreted differently - because the Core project is not the same

Development Plan - What is working?

About the usage of NUnit.Framework

Actually, the system manages all the 4 exceptions that composes NUnit: SuccessException, FailedException, IgnoreException and InconclusiveException.
As a result, all the Assert and Contraint classes should work as expected !

Regarding the attributes, there is more work to do as only the TestFixture, Test, SetUp and TearDown attributes are taken into account.
The attributes that are not taken into account are tagged as Obsolete - this was, they remain available but you have a warning about them.

My 'target' is to be able to work with:
  • ExceptedException
  • Description
  • TestFixtureSetUp
  • TestFixtureTearDown
  • TestCase

But the main issue - from my point-of-view :) - is how the Gui and all the unit tests are started. Currently, all is done through Visual Studio and VS automatically breaks to all the NUnit exceptions! And that's could become really annoying!
More over, the GUI should be separated from my sample unit test project - but that's not the more complex part.

About the User Interface

The user interface is divided into two pages:
  • A first page to choose the tests to run
  • A result page displaying the current running process and details about all the issues

(see below for some screenshots)


As a reminder, NUnit can be found here:
The project 'NUnit 4 Phone' is not directly related to and it's community.

The NUnit.Framework library provided as part of this project is a derivative works created from the 2.5.8 version of NUnit - as such it is provided through the NUnit license that can be found with the source code and here:

Don't hesitate to use NUnit in all your projects !! That's the better way to increase the quality of your dev' and discovers bugs in your software.


The main page
The test run page
The full view of the test run page

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


No comments yet.