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
Delivery Options
Private Group Training
Our identity is rooted in delivering exactly what our clients need.
- Pre-course call with your trainer
- Customisation of the learning experience to achieve your goals -
- Bespoke outlines
- Practical hands-on exercises containing data / scenarios recognisable to the learners
- Training scheduled on a date of your choice
- Delivered online, onsite/classroom or hybrid by experts sharing real world experience
Private Group Prices RRP from €6840 online delivery, based on a group of 2 delegates, €2160 per additional delegate (excludes any certification / exam costs). We recommend a maximum group size of 12 for most learning events.
Contact us for an exact quote and to hear our latest promotions
Public Training
Please see our public courses
Testimonials (5)
Provided with nestjs even though it was not on the agenda
Suhail - Maldives Pension Administration Office (Pension Office)
Course - Typescript Unit Testing
I liked that I had the chance to exercise.
carmen mocanu - Nanotec Electronic Bulgaria EOOD
Course - Unit Testing with C#
Exercises were nice
Vyshnavi Iyappan - Red Embedded Consulting Sp. z o.o.
Course - Unit Testing with Python
Practical time was fun.
Pieter Hartzenberg - BMW
Course - Unit Testing with Javascript
The instructor tried to make things dynamic, and he demonstrated dominance of the topic.