Packt
Test-Driven Development in .NET Core - The Handbook

Give your career the gift of Coursera Plus with $160 off, billed annually. Save today.

Packt

Test-Driven Development in .NET Core - The Handbook

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

6 hours to complete
3 weeks at 2 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

6 hours to complete
3 weeks at 2 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Identify the principles of unit testing for core application code.

  • Apply integration testing techniques to third-party library interactions (such as EF core).

  • Analyze and implement the red-green-refactor cycle in test-driven development.

  • Create testable code using facts and theories, incorporating good unit testing patterns and practices.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

September 2024

Assessments

3 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 7 modules in this course

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.

What's included

1 video1 reading

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.

What's included

5 videos

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.

What's included

11 videos1 assignment

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.

What's included

5 videos

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.

What's included

5 videos

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.

What's included

8 videos1 assignment

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.

What's included

1 video1 assignment

Instructor

Packt - Course Instructors
Packt
375 Courses14,912 learners

Offered by

Packt

Recommended if you're interested in Software Development

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

New to Software Development? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions