Cucumber | Mapping the API
Channel: QaOps
Date: 06/01/2021

In this video, we will be mapping the API. This is very important because by abstracting the API, we will have reusable code and therefore, less work maintaining it.

Subscribe: http://videos.qa-ops.com/subscribe

============TABLE OF CONTENTS===========
- 0:00 Introduction
- 00:51 Remembering the structure that we are building
- 2:10 Removing non specification by example tests
- 3:25 Using IntelliJ refactoring to rename a variable
- 4:31 Creating the API package
- 5:07 Moving all code from the Step Definition to the UserApi class
- 7:37 Using IntelliJ refactor to extract a method
- 9:09 Creating method that returns only a json field
- 11:52 Using the value retrieved from the UserApi to do the assertion

============DOCUMENTATION===========
- docs: http://videos.qa-ops.com/docs

============GITHUB===========
- Github: https://repos.qa-ops.com/github
- Repository: https://github.com/qa-ops/bdd-automation-api
- Branch: 08-creating-clients

============MENTIONED VIDEOS===========
- BDD Intro a testes de API: https://youtu.be/0lzB6IkvLRM
- BDD O que é: https://youtu.be/DoEzwnqB1mk
- BDD Vale a pena?: https://youtu.be/iLlCtk-bvi4
- BDD Especificação por Exemplo: https://youtu.be/vdw9wmky8gc
- BDD What is Gherkin: https://youtu.be/NP7rHtkMbGg
- BDD Automation Architecture: https://youtu.be/8z6-nusWuJs
- BDD Project and Dependencies: https://youtu.be/0i72N1Fz_y0
- BDD First Scenario: https://youtu.be/A3uiR4quZr4
- Cucumber Implementing the first scenario: https://youtu.be/uFoq-XtbBa0
- Cucumber Should I use docstring?: https://youtu.be/M-S55a6ei1M
- Cucumber Rest Assured config: https://youtu.be/3jHMpmZfylY
- Cucumber Hands on Specification by Example: https://youtu.be/wkePKVTevYM
- Cucumber Runner Class: https://youtu.be/oqElg0mpfwY

============PLAYLISTS===========
- Java RestAssured API: https://videos.qa-ops.com/java-restassured-automation
- Unix Command Line: https://videos.qa-ops.com/unix-command-line
- 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
- https://www.youtube.com/channel/UCu9V0aROh3RABqHdXLan5GA