microsoft partner logo color
7879  Reviews star_rate star_rate star_rate star_rate star_half

ASP.NET 8 Test-Driven Development

This ASP.NET 8 TDD training course teaches developers how to implement TDD (Test-Driven Development) principles and best practices across both ASP.NET and JavaScript/TypeScript code. Attendees learn...

Read More
Course Code NET-324
Duration 4 days
Available Formats Classroom

This ASP.NET 8 TDD training course teaches developers how to implement TDD (Test-Driven Development) principles and best practices across both ASP.NET and JavaScript/TypeScript code. Attendees learn how to write effective unit tests, integration tests, and end-to-end (E2E) tests, ensuring that applications are thoroughly vetted and free from defects.

Skills Gained

  • Understand the fundamentals and best practices of Test-Driven Development
  • Apply TDD techniques in ASP.NET and JavaScript/TypeScript code
  • Differentiate between unit testing, integration testing, and E2E testing
  • Organize and structure unit tests
  • Identify the appropriate testing strategies for various application components
  • Leverage mocks, stubs, and fakes to isolate testing environments
  • Seamlessly integrate testing into local development tools and CICD pipelines

Prerequisites

  • C# and ASP.NET technologies
  • JavaScript or TypeScript

Course Details

Course Outline

  • Introduction
  • Principles of TDD (inspired by “Uncle” Bob Martin)
  • Kinds of Testing
  • Testing Parts
  • Overview of .NET Core and Testing
  • xUnit
  • ASP.NET MVC Test-Driven Development (focus is on testing REST APIs)
  • ASP.NET Blazor Test-Driven Development
  • Mocking Databases (choose 1)
  • JavaScript Test-Driven Development
  • JavaScript Testing Frameworks Overview
  • JavaScript Test Runners Overview
  • JavaScript E2E Testing Overview
  • JavaScript TDD with BDD
  • JavaScript Unit Testing (will be covered with Jest or Jasmine)
  • JavaScript E2E Testing (will be covered with Selenium)
  • Testing JavaScript Code Frameworks
  • Code Coverage
  • Conclusion