Test of Object-oriented Programs
- slide 24 : 35
NUnit for C#
NUnit is a unit testing framework for C#
NUnit characteristics
Pieces of test programs are marked by means of particular
attributes
Correctness is stated by use of
assertions
: Methods with boolean result
Nunit provides a large amount of different assertions
The NUnit tools are able to execute the marked test in one or more assemblies
In this context, an assembly is typically a
dll
file
Nunit tools
A Console Runner
A GUI Runner
Install Nunit
Give Nunit a Try