Test-Driven Development Using Visual Studio and MSTest (NET404)
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 for developers explains the methodology of test-driven development and the use of Microsoft’s MSTest unit testing framework that comes with Visual Studio 2022, including the free Community version.
This course is designed to run on .NET 6.0, which is the latest version of .NET Core and is the main implementation of .NET going forward. .NET Core is a package-based implementation that is cross-platform, running on Mac and Linux besides Windows. .NET Framework 4.x continues to be supported. Object Innovations course 4106 covers unit testing on .NET 4.x.
The course is practical, with many example programs and tests written in C#, including a cumulative case study. The goal is to quickly bring you up to speed in doing unit testing in your .NET development projects. The student will receive a comprehensive set of materials, including course notes and all the programming examples.
- Understand the principles of test-driven development
- Acquire fluency in developing tests using the Visual Studio unit testing framework
- Efficiently exercise test suites using Visual Studio and MSTest
- Test-Driven Development
- What is Test-Driven Development (TDD)?
- Functional tests / Customer tests
- Unit tests / Programmer tests
- Test automation
- Simple design
- Refactoring
- A Visual Studio test drive
- TDD with legacy code
- Visual Studio Unit Testing Fundamentals
- Structure of unit tests
- Unit testing framework
- Assertions
- Test cases
- Test classes
- Test runners
- Ignoring tests
- Initialization and cleanup
- More about MSTest Framework
- Expected exceptions
- Custom asserts
- Playlists
- Debugging unit tests
- Command-line test runner
- Refactoring
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Experience in the following is required for this ASP.NET class:
- The student should have a basic knowledge of the .NET Framework and experience programming in C# with Visual Studio.
Live Private Class
- Private Class for your Team
- Live training
- Online or On-location
- Customizable
- Expert Instructors