Packt
Complete Guide to Unit Testing in .NET Core (NUnit & xUnit)

Ce cours n'est pas disponible en Français (France)

Nous sommes actuellement en train de le traduire dans plus de langues.
Packt

Complete Guide to Unit Testing in .NET Core (NUnit & xUnit)

Inclus avec Coursera Plus

Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Débutant

Expérience recommandée

7 heures pour terminer
3 semaines à 2 heures par semaine
Planning flexible
Apprenez à votre propre rythme
Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Débutant

Expérience recommandée

7 heures pour terminer
3 semaines à 2 heures par semaine
Planning flexible
Apprenez à votre propre rythme

Ce que vous apprendrez

  • Execute unit tests and debug them effectively in .NET Core environments, using MSTest, NUnit, and xUnit.

  • Differentiate between various testing scenarios, evaluating the appropriate use of mocking and dependency injection with the Moq framework.

  • Understand the principles and benefits of automated unit testing, and describe how NUnit and xUnit frameworks facilitate these processes.

  • Create unit tests for an N-tier real-world web application project using xUnit.

Compétences que vous acquerrez

  • Catégorie : Unit Testing
  • Catégorie : .Net Core
  • Catégorie : Nunit
  • Catégorie : EF Core
  • Catégorie : Xunit

Détails à connaître

Certificat partageable

Ajouter à votre profil LinkedIn

Récemment mis à jour !

septembre 2024

Évaluations

4 devoirs

Enseigné en Anglais

Découvrez comment les employés des entreprises prestigieuses maîtrisent des compétences recherchées

Emplacement réservé
Emplacement réservé

Obtenez un certificat professionnel

Ajoutez cette qualification à votre profil LinkedIn ou à votre CV

Partagez-le sur les réseaux sociaux et dans votre évaluation de performance

Emplacement réservé

Il y a 7 modules dans ce cours

In this module, we will introduce you to the course, covering the basics of manual and automated testing. You will learn about the tools needed and gain an understanding of different types of tests, including the testing pyramid and the logical phase of an automated test.

Inclus

7 vidéos1 lecture

In this module, we will guide you through the initial steps of setting up your first unit test. You'll learn about the nullable feature in .NET 6, create a project, and explore writing and troubleshooting unit tests using MSTest.

Inclus

5 vidéos

In this module, we will delve into unit testing with NUnit. You will create NUnit projects, write tests, and use debugging and assertion techniques. Additionally, you'll complete assignments to solidify your understanding and handle various assertion scenarios.

Inclus

13 vidéos1 devoir

In this module, we will explore advanced concepts in NUnit testing. You will learn to assert collections, handle exceptions, and set up inheritance. The module includes assignments on grading calculators and the Fibonacci series to apply these advanced techniques.

Inclus

14 vidéos

In this module, we will focus on using MOQ for unit testing. You will learn to set up and configure mock objects, perform integration tests, and handle various scenarios with loggers and return values. The module also covers advanced MOQ features like properties and callbacks.

Inclus

17 vidéos1 devoir

In this module, we will cover unit testing with xUnit. You will create xUnit projects, compare it with other frameworks, and work on assignments related to grading calculators and the Fibonacci series. The module also includes topics on MOQ integration with xUnit.

Inclus

11 vidéos

In this module, we will apply NUnit testing to real-world examples. You will set up main projects, data access unit test projects, and Bongo core projects. The module covers in-memory databases, core unit tests, and web application testing, ensuring you can handle complex testing scenarios effectively.

Inclus

19 vidéos2 devoirs

Instructeur

Packt - Course Instructors
Packt
353 Cours6 667 apprenants

Offert par

Packt

Recommandé si vous êtes intéressé(e) par Software Development

Pour quelles raisons les étudiants sur Coursera nous choisissent-ils pour leur carrière ?

Felipe M.
Étudiant(e) depuis 2018
’Pouvoir suivre des cours à mon rythme à été une expérience extraordinaire. Je peux apprendre chaque fois que mon emploi du temps me le permet et en fonction de mon humeur.’
Jennifer J.
Étudiant(e) depuis 2020
’J'ai directement appliqué les concepts et les compétences que j'ai appris de mes cours à un nouveau projet passionnant au travail.’
Larry W.
Étudiant(e) depuis 2021
’Lorsque j'ai besoin de cours sur des sujets que mon université ne propose pas, Coursera est l'un des meilleurs endroits où se rendre.’
Chaitanya A.
’Apprendre, ce n'est pas seulement s'améliorer dans son travail : c'est bien plus que cela. Coursera me permet d'apprendre sans limites.’
Emplacement réservé

Ouvrez de nouvelles portes avec Coursera Plus

Accès illimité à plus de 7 000 cours de renommée internationale, à des projets pratiques et à des programmes de certificats reconnus sur le marché du travail, tous inclus dans votre abonnement

Faites progresser votre carrière avec un diplôme en ligne

Obtenez un diplôme auprès d’universités de renommée mondiale - 100 % en ligne

Rejoignez plus de 3 400 entreprises mondiales qui ont choisi Coursera pour les affaires

Améliorez les compétences de vos employés pour exceller dans l’économie numérique

Foire Aux Questions