ASP.NET Core: Test-Driven Development
Overview
Get practical, hands-on experience implementing test-driven development of ASP.NET Core applications.
Get practical, hands-on experience implementing test-driven development of ASP.NET Core applications. Apps developed with a solid testing strategy are cleaner, more flexible, and easier to change on the fly. This course provides developers with the baseline knowledge of TDD so they can iterate through both new and existing code. Instructor Richard Rout introduces some helpful tools for ASP.NET Core testing, including Visual Studio, ReSharper, and the xUnit and Mock frameworks. Then he covers concepts such as dependency injection and version control, and shows how to set up a web app for testing. Finally, he walks through the red-green-refactor test cycle, including writing failing and passing tests, running tests, and refactoring code to improve quality.
Note: Examples in this course were developed using C# ASP.NET Core, but the concepts apply to all .NET Core applications.
Get practical, hands-on experience implementing test-driven development of ASP.NET Core applications. Apps developed with a solid testing strategy are cleaner, more flexible, and easier to change on the fly. This course provides developers with the baseline knowledge of TDD so they can iterate through both new and existing code. Instructor Richard Rout introduces some helpful tools for ASP.NET Core testing, including Visual Studio, ReSharper, and the xUnit and Mock frameworks. Then he covers concepts such as dependency injection and version control, and shows how to set up a web app for testing. Finally, he walks through the red-green-refactor test cycle, including writing failing and passing tests, running tests, and refactoring code to improve quality.
Note: Examples in this course were developed using C# ASP.NET Core, but the concepts apply to all .NET Core applications.
Syllabus
Introduction
- Welcome
- What you should know
- Using the excercise files
- TDD and tools
- Dependency injection and IoC
- Configure the app for testability
- Test base case
- Test N+1 case
- Refactor code and tests
- Complete test cases
- Finish and run the app
- TDD in untested code
- Make untestable code testable
- Confidently change your code, part 1
- Confidently change your code, part 2
- Refactor existing code
- Next steps
Taught by
Richard Rout
Related Courses
Reviews
0.0 rating, based on 0 reviews