Behavior Driven Development (BDD) is revolutionizing the way software testing and development are approached, making it essential for professionals in the field to master. This course demystifies BDD by introducing you to Cucumber, a powerful tool that streamlines the testing process. Starting with the basics, you’ll learn how to create a Cucumber Maven project, write feature files using Gherkin language, and set up step definitions. Each module is designed to build your confidence, ensuring you grasp the fundamental concepts before diving into more complex topics.
Offrez à votre carrière le cadeau de Coursera Plus avec $160 de réduction, facturé annuellement. Économisez aujourd’hui.
Expérience recommandée
Ce que vous apprendrez
Create a Cucumber Maven project from scratch.
Write and execute BDD scenarios using Gherkin language.
Integrate Cucumber with Selenium WebDriver for automation.
Design and implement a Page Object Model-based framework.
Compétences que vous acquerrez
- Catégorie : WebDriver
- Catégorie : JUnit
- Catégorie : Cucumber
- Catégorie : BDD
Détails à connaître
Ajouter à votre profil LinkedIn
octobre 2024
4 devoirs
Découvrez comment les employés des entreprises prestigieuses maîtrisent des compétences recherchées
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
Il y a 7 modules dans ce cours
In this module, we will explore the foundational concepts of Behavior Driven Development (BDD) and guide you through setting up a Cucumber environment. You'll learn how to create Cucumber Maven projects, develop feature files using Gherkin syntax, and implement step definitions to bring your BDD tests to life. By the end of this section, you'll be equipped to run your BDD tests using JUnit test runners, ensuring a robust testing framework for your projects.
Inclus
7 vidéos1 lecture
In this module, we will delve into the various configuration options available in Cucumber, enabling you to tailor your BDD test executions. You'll learn how to set up features, glue, and plugins, and how to use the dry run and strict options to control test execution flow. Additionally, we’ll cover the monochrome and tags options for better output formatting and scenario filtering, along with the name option for precise scenario targeting, ensuring your tests run exactly as needed.
Inclus
6 vidéos
In this module, we will integrate Selenium WebDriver with Cucumber, allowing you to perform browser-based testing within your BDD workflows. You'll learn how to craft Gherkin scenarios and write step definitions to test web applications interactively. Additionally, we will introduce global hooks, enabling you to manage test environments and actions that need to occur before or after each scenario, ensuring your tests are robust and efficient.
Inclus
3 vidéos1 devoir
In this module, we will explore the use of parameters and data tables in Cucumber to make your tests more dynamic and data-driven. You'll learn how to use Cucumber parameters to pass different data sets into your step definitions and how to work with step data tables to handle more complex inputs. Additionally, we will cover scenario outlines, enabling you to perform data-driven testing by running the same scenario with multiple sets of data, thus broadening your test coverage and ensuring robust validation of your application.
Inclus
3 vidéos
In this module, we will dive into the concepts of hooks and tags in Cucumber, which are essential tools for managing test execution flow. You'll learn how to use global hooks to define actions that run before or after all scenarios, and how to leverage tagged hooks for more granular control based on scenario tags. We will also cover how to prioritize hooks to control their execution order, and how to use Cucumber tags to organize and selectively run your scenarios. The module concludes with a summary to reinforce your understanding and ensure you are well-prepared to apply these concepts in your testing framework.
Inclus
5 vidéos1 devoir
In this module, we will explore the integration of the Page Object Model (POM) within the Cucumber framework to create a robust and maintainable test architecture. You'll learn how to create a Page Factory for managing web elements, develop action pages that encapsulate user interactions, and construct common action pages for shared functionalities. By the end of this module, you'll be equipped to implement the Page Object Model in your BDD tests, ensuring your test code is scalable, modular, and easy to maintain.
Inclus
4 vidéos
In this module, we will focus on enhancing the reporting capabilities of your Cucumber tests. You’ll learn how to add the Masterthought reporting plugin to generate comprehensive test reports, and how to capture screenshots automatically for any failed steps, making it easier to identify and resolve issues. The module concludes with a summary of the entire course, ensuring that you are equipped to apply what you've learned and continue developing your BDD expertise.
Inclus
3 vidéos2 devoirs
Instructeur
Offert par
Recommandé si vous êtes intéressé(e) par Software Development
Pour quelles raisons les étudiants sur Coursera nous choisissent-ils pour leur carrière ?
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
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.