Course Outline

Introduction

Unit Testing Frameworks

  • What are unit tests?
  • The fundamentals of a unit testing framework

Test-Driven Development

  • Refactoring overview
  • The different approaches to testing

Preparing the Development Environment

  • Installing and configuring Visual Studio Code
  • Installing and configuring .Net
  • Installing and configuring nUnit

Writing a Unit Testing Framework

  • Creating a test
  • Applying more tests
  • Refactoring the test runner
  • Working with the assert class
  • Reflecting to call methods
  • Using a naming convention

Visual Studio Code Integration

  • Creating a project with templates
  • Creating a project with a unit testing framework
  • Running the test
  • Optimizing code
  • Testing parameters

nUnit

  • Writing and running a test unit
  • Using constraints
  • Testing parameters

xUnit

  • Writing and running a unit test
  • Testing parameters with InLine
  • Testing multiple parameters
  • Using a custom class member

Advanced Optimizations

  • Grouping tests
  • Working with test attributes
  • Customizing with playlists
  • Debugging tests
  • Using test menus
  • Viewing results with CodeLens
  • Using Code Coverage
  • Running tests with MSTest

Summary and Conclusion

Requirements

  • An understanding of Dot Net basics

Audience

  • Software Testers
  21 Hours
 

Testimonials

Related Courses

Unit Testing with JUnit

  21 hours

Agile Software Testing Overview

  7 hours

Test Driven Development

  21 hours

Unit Testing with PHPUnit

  14 hours

Unit Testing with Python

  21 hours

Unit Testing with C#

  14 hours

Unit Testing with F#

  7 hours

Unit Testing with Haskell

  7 hours

Unit Testing with Javascript

  7 hours

Jasmine: Unit Testing Javascript Applications

  7 hours

Unit Testing with C

  35 hours

Typescript Unit Testing

  14 hours

Agile Software Testing

  14 hours

Performance Testing with LoadRunner

  35 hours

Quality Assurance and Continuous Integration

  14 hours