Overview
Unit testing is a testing approach that tests individual units of source code by modifying its properties or triggering an event to confirm whether the outcome is as expected.
In this instructor-led, live training, participants will learn how to write and execute unit tests against a sample .Net application using C# and Visual Studio.
By the end of this training, participants will be able to:
- Use testing frameworks such as NUnit and xUnit.net to create and manage unit test code
- Define and implement a broader test driven development approach to testing
- Adapt the testing framework to extend the test coverage for an application
Audience
- Software test engineers
- Developers
Format of the course
- Part lecture, part discussion, exercises and heavy hands-on practice
Requirements
- C# programming experience
Course Outline
Introduction
Overview of unit testing
Unit testing vs functional testing
Preparing the test environment
Working with xUnit.net and NUnit
Writing your first test
Executing and debugging the test
Extending test coverage
Managing test cases
Test driven development (TDD) and continuous integration
Closing remarks