3. What is Unit Testing?
Unit testing is a method by which individual units
of source code, sets of one or more computer program
modules together with associated control data, usage
procedures, and operating procedures, are tested to
determine if they are fit for use. Intuitively, one can
view a unit as the smal.lest testable part of an
application
BancTec
4. What is NUnit?
NUnit is a unit-testing framework for all .NET languages. The current
production release, version 2.6, is the seventh major release of this xUnit
based unit testing tool for Microsoft .NET. It is written entirely in C# and
has been completely redesigned to take advantage of many .NET
language features, for example custom attributes and other reflection
related capabilities. NUnit brings xUnit to all .NET languages.
BancTec
5. How does it work?
• TestFixture
• SetUp
• TearDown
• Test
• ExpectedException
• Ignore
BancTec