In this video, we will be creating hooks in cucumber. Hooks are good for having actions or setup that are performed for all tests or for a subset of tests.
Subscribe: http://videos.qa-ops.com/subscribe
============TABLE OF CONTENTS===========
- 0:00 Introduction
- 1:46 Creating a vanila before hook
- 3:32 Creating a before hook for a specific tag
- 4:28 Default order of the before hooks
- 5:09 Modifying the default order of before hooks
- 6:50 Creating the after hooks with specific order
- 8:50 Default order of the after hooks
- 9:41 Practical usage of cucumber hooks
============DOCUMENTATION===========
- docs: http://videos.qa-ops.com/docs
============GITHUB===========
- Github: https://repos.qa-ops.com/github
- Repository: https://github.com/qa-ops/bdd-automat...
- Branch: 09-cucumber-hooks
============MENTIONED VIDEOS===========
- BDD Intro a testes de API: • BDD | Intro Testes de API
- BDD O que é: • BDD | o que é
- BDD Vale a pena?: • BDD | Vale, ou não, a pena
- BDD Especificação por Exemplo: • Video
- BDD What is Gherkin: • BDD | What is Gherkin
- BDD Automation Architecture: • BDD | Automation Architecture
- BDD Project and Dependencies: • BDD | Project and Dependencies
- BDD First Scenario: • Cucumber | First Scenario
- Cucumber Implementing the first scenario: • Cucumber | Implementing the first sce...
- Cucumber Should I use docstring?: • Cucumber | Should I use docstring ?
- Cucumber Rest Assured config: • Cucumber | Rest Assured config
- Cucumber Hands on Specification by Example: • Cucumber | Hands on Specification by ...
- Cucumber Runner Class: • Cucumber | Runner Class
- Cucumber Mapping the API: • Cucumber | Mapping the API
============PLAYLISTS===========
- Java RestAssured API: https://videos.qa-ops.com/java-restas...
- Unix Command Line: https://videos.qa-ops.com/unix-comman...
- Bash Script: https://videos.qa-ops.com/bash-script-en
============SOCIAL MEDIAS===========
- Twitter: https://social.qa-ops.com/twitter
- LinkedIn: https://social.qa-ops.com/linkedin
====MUSIC BY====
- Author: Simone Geravini
- Licensed by: Zimo Music
- / @zimomusiclibrary