NUnitLite Version 0.1.0

Rating: No reviews yet
Downloads: 978
Released: Aug 20, 2007
Updated: Aug 20, 2007 by cpoole
Dev status: -not yet defined by owner-

Recommended Download

Source Code
source code, 93K, uploaded Aug 20, 2007 - 978 downloads

Release Notes

This is the first release of NUnitLite and should be considered as alpha-level software.

NUnitLite supports both an attribute-based an an inheritance-based approach to test identification. Classes marked with the TestFixtureAttribute represent fixtures and methods with the TestAttribute are test cases. Alternatively, test fixtures may be created by inheriting from the TestCase class. In that case, any methods begining with the case-insensitive prefix "test" are identified as tests.

The SetUp and TearDown attributes are recognized as in NUnit. In methods inheriting from TestCase, the SetUp and TearDown methods may be overridden and will be called before and after each test.

A simplified form of the ExpectedExceptionAttribute allows specification of the type of the expected exception and of an ExceptionHander method, which is called to evaluate the exception in more detail.

By use of the static Suite property, arbitrary suites of tests may be manually created. A suite may consist of individual test cases, entire test fixtures or other suites.

The programmer expresses expected test conditions using the Assert class. The existing functionality of most current NUnit Assert methods is supported, but the syntax has been changed to use the more extensible constraint-based format.

NUnitLite supports most of the same built-in constraints as NUnit. Users may also derive custom constraints from the abstract Constraint class.

Although constraints may be created using their constructors, the more usual approach is to make use of one or more of the NUnitLite SyntaxHelpers.

Tests are loaded as a list of fixtures, without any additional hierarchy. Each fixture contains it's tests. Tests are executed in the order found, without any guarantees of ordering. A separate instance of the fixture object is created for each test case executed by NUnitLite. The embedded console runner produces a summary of tests run and lists any errors or failures.

Reviews for this release

No reviews yet for this release.