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
Testimonials (7)
The exercises
Florin Mazilu - SOJUS Software GmbH & Co. KG
Course - Unit Testing with JUnit
Everything, great trainer.
Michał Rawicki
Course - Unit Testing with Python
Machine Translated
the trainer level.
Titus - Ness
Course - Unit Testing with C#
The course, The Trainer
Novat Adam - Tanzania Revenue Authority
Course - Unit Testing with Javascript
The trainer was very knowledgeable and dynamic, keeping engagement and focus of the team during the whole training. I would definitely recommend it as I reckon learnings from this training can be quickly applied to our everyday development workflow.
Inigo
Course - iOS Automation Testing
There has been a wide coverage of many topics. This fostered our own discussong internally
Pierre - Seebyte
Course - Agile Software Testing
Trainer is very knowledgeable on the subject and able to provide real world examples through his experience.