Packt
Specflow and Cucumber for .NET Developers - The Master Guide

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

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

Specflow and Cucumber for .NET Developers - The Master Guide

Inclus avec Coursera Plus

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

Expérience recommandée

10 heures pour terminer
3 semaines à 3 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

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

Ce que vous apprendrez

  • Identify and recall key concepts of behavior-driven development (BDD) and Gherkin syntax.

  • Explain the purpose and structure of feature files and acceptance tests in Specflow.

  • Implement Gherkin scenarios and step definitions using Specflow in .NET projects.

  • Differentiate between various Specflow binding techniques and test strategies.

Compétences que vous acquerrez

  • Catégorie : BDD for .NET
  • Catégorie : Gherkin syntax
  • Catégorie : Cucumber for developers
  • Catégorie : Specflow course
  • Catégorie : Visual Studio testing

Détails à connaître

Certificat partageable

Ajouter à votre profil LinkedIn

Récemment mis à jour !

octobre 2024

Évaluations

6 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 16 modules dans ce cours

In this module, we will introduce you to the course and outline what you can expect to learn. You'll also discover who the course is designed for, ensuring that you have the necessary background to succeed.

Inclus

2 vidéos1 lecture

In this module, we will delve into the fundamentals of Behavior-Driven Development (BDD) and explore how Cucumber and Gherkin facilitate this approach. You'll learn the importance of Gherkin as a universal language for capturing business requirements and how it serves as a single source of truth throughout the development process.

Inclus

11 vidéos

In this module, we will provide a comprehensive crash course on Gherkin, the language used for writing BDD scenarios. You’ll explore each Gherkin keyword in detail, understand their purposes, and learn how to structure your feature files. By the end, you'll be equipped to write robust Gherkin scenarios that serve as the foundation for behavior-driven testing.

Inclus

21 vidéos1 devoir

In this module, we will introduce you to SpecFlow, a powerful tool for implementing BDD in .NET projects. You'll learn why SpecFlow is essential for .NET developers, explore different types of SpecFlow tests, and get hands-on experience by installing and testing SpecFlow extensions in your preferred development environment.

Inclus

10 vidéos

In this module, we will guide you through the process of binding steps in SpecFlow, a crucial aspect of BDD. You'll start with a clean slate, create a SpecFlow class, and learn how to bind steps effectively. We will also cover how to resolve unbound steps, customize configurations, and run your tests to ensure everything is functioning correctly.

Inclus

9 vidéos

In this module, we will focus on how SpecFlow manages parameters within your test scenarios. You'll learn how to work with various types of parameters, including strings, integers, and datatables, and how to debug them to ensure they are handled correctly. This knowledge will enable you to write more dynamic and flexible BDD tests.

Inclus

5 vidéos1 devoir

In this module, we will dive into handling Gherkin datatables using SpecFlow's Table Assist feature. You'll learn how to leverage helper methods to create instances and compare data within your tests, ensuring your scenarios are both accurate and efficient. We'll also cover how to fix common implementation issues to optimize your BDD workflow.

Inclus

7 vidéos

In this module, we will explore the concept of SpecFlow hooks, which allow you to execute specific actions at various points in your test run. You'll learn how to use hooks for logging, managing execution order, and passing context dependencies. We’ll also cover error handling within hooks, providing you with the tools to create more reliable and maintainable test suites.

Inclus

10 vidéos

In this module, we will focus on effectively splitting and organizing features and steps within your SpecFlow projects. You'll learn how to refactor your code by separating step files, which can help in managing large test suites more efficiently. We will also discuss how to handle ignored and context-pending steps to maintain clarity and functionality in your tests.

Inclus

6 vidéos1 devoir

In this module, we will explore techniques for sharing data between SpecFlow scenarios using context and dependency injection. You'll learn about the SpecFlow context system, how to merge scenario context properties, and how to implement a base class approach with dependency injection. By the end, you'll have a comprehensive understanding of the different methods available and how to choose the best one for your testing needs.

Inclus

8 vidéos

In this module, we will delve into advanced SpecFlow features focused on value retrievers. You'll learn how to work with built-in retrievers for DateTime and Enums and create custom retrievers for more complex data types. We’ll also address challenges like handling null values and parsing comma-separated lists, ensuring you have the tools to customize SpecFlow for any scenario.

Inclus

14 vidéos

In this module, we will explore the concept of step argument conversions in SpecFlow, which allows for the transformation of data passed into steps. You'll tackle a conversion challenge to solidify your understanding and learn how to handle complex data types using custom transformations, including IEnumerable table arguments. By the end, you'll be equipped to manage argument order precedence effectively to optimize your BDD scenarios.

Inclus

7 vidéos1 devoir

In this module, we will explore advanced techniques in SpecFlow, focusing on hooks, scopes, and asynchronous step definitions. You'll learn how to write async step definitions to improve test efficiency and how to restrict hook scopes using various logical combinations like AND/OR at different levels. Additionally, we'll cover scoped bindings to ensure your tests remain well-organized and adaptable to changes.

Inclus

8 vidéos

In this module, we will cover the different approaches for running SpecFlow tests, whether via the Test Explorer in Visual Studio or using command-line tools like dotnet test and vstest.console. You’ll also learn how to integrate SpecFlow tests with Azure DevOps and execute tests in parallel using multiple frameworks, ensuring your test runs are both efficient and scalable.

Inclus

10 vidéos

In this module, we will focus on best practices for organizing your SpecFlow project. You’ll learn how to separate feature files and business models into distinct sections, making your project easier to navigate and maintain. Through practical tidying up strategies, you’ll ensure that your project structure remains clean and efficient, supporting smooth collaboration and future scalability.

Inclus

5 vidéos1 devoir

In this concluding module, we will wrap up the course by revisiting the essential concepts and skills you've gained. We’ll also encourage you to apply these techniques in your development work and offer suggestions for further expanding your knowledge in behavior-driven development. Thank you for being a part of this learning journey!

Inclus

1 vidéo1 devoir

Instructeur

Packt - Course Instructors
Packt
375 Cours25 243 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é à 10,000+ cours de niveau international, projets pratiques et programmes de certification prêts à l'emploi - 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