nunit 1. what is nunit? nunit is a unit-testing framework for all.net languages. initially ported...

5
Unit Testing NUnit 1

Upload: maurice-thomas

Post on 17-Jan-2016

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: NUnit 1.  What Is NUnit?  NUnit is a unit-testing framework for all.Net languages. Initially ported from JUnit, the current production release, version

Unit TestingNUnit

1

Page 2: NUnit 1.  What Is NUnit?  NUnit is a unit-testing framework for all.Net languages. Initially ported from JUnit, the current production release, version

What Is NUnit? NUnit is a unit-testing framework for all .Net

languages. Initially ported from JUnit, the current production release, version 2.5, is the sixth 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.

http://www.nunit.org/index.php

NUnit

Page 3: NUnit 1.  What Is NUnit?  NUnit is a unit-testing framework for all.Net languages. Initially ported from JUnit, the current production release, version

NUnit Example Code

Page 4: NUnit 1.  What Is NUnit?  NUnit is a unit-testing framework for all.Net languages. Initially ported from JUnit, the current production release, version

NUnit Example Code

Page 5: NUnit 1.  What Is NUnit?  NUnit is a unit-testing framework for all.Net languages. Initially ported from JUnit, the current production release, version

NUnit has approximately 180 unit test stubs created.

We are currently adding code to the unit test stubs that have functional code to support the test.

Unit testing demo

Unit Test Progress