Toll Free: 800-735-7418
Local: 303-377-9333
info@hartmannsoftware.com
 
 

 
TEST-DRIVEN DEVELOPMENT USING NUNIT

Course Description  
An emerging software engineering paradigm is test-driven development, where tests are written early and testing is performed continuously during the development process. Problems are discovered early and corrected when they are found. This one-day course explains the methodology of test-driven development and the use of NUnit in supporting test-driven development on Microsoft .NET. The course has with many example programs and tests written in C#, including a cumulative case study.

Course Length: 1 Days
Course Tuition: $390 (US)
Prerequisites
The student should have a basic knowledge of the .NET Framework and experience programming in C# with Visual Studio
Course Outline  


• Test-Driven Development
Test-Driven Development
Functional Tests
Unit Tests
Test Automation
Rules for TDD
Implications of TDD
Simple Design
Refactoring
Regression Testing
Test List
Red/Green/Refactor
Using the NUnit Framework
An NUnit Test Drive
IQueue Interface and Stub Class
Test List for Queue
Using the NUnit GUI Tool
A Second Test
More Queue Functionality
TDD with Legacy Code
Acme Travel Agency Case Study

• NUnit Fundamentals
Structure of Unit Tests
Assertions
NUnit Framework
NUnit Assert Class
Assert.AreEqual()
More Assert Methods
Test Case
Test Methods
Test Fixture
Test Runner
Test Case Hierarchy
Test Case Selection
Coloring Parent Nodes
Test Setup and TearDown
Test Fixture Setup and TearDown
Using NUnit with Visual Studio

• More about NUnit
Expected Exceptions
Enqueue and Dequeue
Tests for Enqueue and Dequeue
ToArray()
Test of ToArray()
Debugging NUnit Tests
Exceptions Dialog
Custom Asserts
Implementing a Custom Assert
Categories
Categories with NUnit-Gui
Results as XML
Running NUnit at the Command Line
Using nunit-console.exe
nunit-console.exe Options
Categories at the Command Line
Refactoring
Collection Class Implementation
Testing the New Version

Contact us for course schedules or more information.
 

Registration and Pricing
The Virtual Classroom
Mentoring Services


Fresh Off The Press MySQL Admin/Dev
Sharepoint for Developers
Advanced XML
Securing Java Web Services
Exploring Design Patterns
Fast Track to Java EE
Ajax using C# (VS 2008) Oracle 11G New Features Complete LINQ