YoVDO

Test-Driven Development in .NET Core - The Handbook

Offered By: Packt via Coursera

Tags

Test-Driven Development Courses C# Courses ASP.NET Core Courses GitHub Courses .NET Core Courses Unit Testing Courses Continuous Integration Courses Integration Testing Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
This course is designed to take you on an in-depth journey through Test-Driven Development (TDD) with .NET 6/7, emphasizing practical application and real-world scenarios. Starting with the fundamentals, you'll learn how to set up and use .NET 6/7, create test projects, and develop unit tests based on specific requirements. You'll then delve into implementing code that meets these requirements, ensuring your applications return the correct data and function as expected. As you progress, the course will guide you through more advanced TDD concepts, including the testing and implementation of application core functionalities. You'll explore creating and saving room bookings, checking room availability, and handling various booking scenarios. The lessons are designed to build your confidence and competence in managing exceptions, adding booking IDs, and ensuring the reliability of your code through thorough testing. Finally, the course culminates with integration testing and continuous integration using GitHub. You’ll refactor projects for better data access, create unit test scenarios for ASP.NET Core applications, and learn to set up and protect GitHub repositories. By the end of the course, you'll be equipped with the skills to run and test your ASP.NET Core applications effectively and streamline your development process with continuous integration techniques.

Syllabus

  • Introduction
    • In this module, we will introduce you to the course content, providing an overview of what you can expect to learn and achieve. We will guide you through the course structure, highlighting the main topics and resources available to enhance your learning experience.
  • Getting Started with Test-Driven Development
    • In this module, we will delve into the basics of Test-Driven Development (TDD) using .NET 6/7. You will learn how to create a test project, write unit tests based on requirements, implement code to meet those tests, and refactor the code to improve functionality and maintainability.
  • Unit Testing - Application Core
    • In this module, we will focus on unit testing within the application core. You will learn to review requirements, create and implement unit tests for booking services, check room availability, and manage booking details. Each step will ensure that the application meets specified requirements and handles data correctly.
  • Integration Testing - Testing the Data Access Layer
    • In this module, we will cover integration testing for the data access layer. You will learn to refactor your project to support data access, retrieve available rooms, and save room bookings. These tests will ensure that your application interacts correctly with the database, maintaining data accuracy and integrity.
  • Application Testing - Unit Testing ASP.NET Core (UI) Application
    • In this module, we will explore unit testing for ASP.NET Core applications. You will learn to set up an SQLite in-memory data store, create unit test scenarios, and implement and run tests. These steps will help ensure that the UI components of your application function correctly and efficiently.
  • Using GitHub for Continuous Integration and Testing
    • In this module, we will guide you through using GitHub for continuous integration and testing. You will learn to set up a GitHub account, add projects, protect branches, and create build actions. By the end of this module, you will have a robust continuous integration pipeline to streamline your development process.
  • Conclusion
    • In this module, we will wrap up the course by reviewing the main topics covered. We will summarize the key learning points, evaluate your progress, and discuss potential next steps to continue your learning journey and apply the skills acquired.

Taught by

Packt - Course Instructors

Related Courses

AWS Developer Tools Deep Dive
A Cloud Guru
Deployment Pipelines using GitHub Actions
A Cloud Guru
GitHub Actions Deep Dive
A Cloud Guru
Hands-On GitOps
A Cloud Guru
Advanced Reproducibility in Cancer Informatics
Johns Hopkins University via Coursera