BlackWaspTM

This web site uses cookies. By using the site you accept the cookie policy.This message is for compliance with the UK ICO law.

<< Previous | 1 | 2 | Next >>
NUnit Utility AssertionsNUnit Utility Assertions
The eleventh part of the Automated Unit Testing tutorial completes the examination of the NUnit Framework's assert methods. This instalment considers the utility asserts, which send instructions to the test runner, rather than performing tests.
Using StubsUsing Stubs
The twelfth part of the Automated Unit Testing tutorial discusses the use of stubs. Stubs are used to simplify the testing of code that relies upon other classes, helping a unit of code to be isolated from its dependencies.
Using FakesUsing Fakes
The thirteenth part of the Automated Unit Testing tutorial continues the discussion of test doubles that can be used to isolate code under test from its dependencies. This article describes fake objects, which have more functionality than stubs.
Using MocksUsing Mocks
The fourteenth part of the Automated Unit Testing tutorial concludes the description of isolating a class from its dependencies using test doubles. This article explains how mock objects can be used to fake large classes and to test expected behaviour.
<< Previous | 1 | 2 | Next >>