Cucumber | deserialization
Channel: QaOps
Date: 03/02/2021

In this video, we will doing deserialization of an object. Although it is possible to do asserts straight on the response, it is also possible to transform the response into an object and perform the assertions there.

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

============TABLE OF CONTENTS===========
- 0:00 Introduction
- 1:22 Showing the json that we need deserialize
- 3:14 Explaining the usage of seed data for you testing strategy
- 4:46 Creating method to find pets by the status
- 7:51 Doing the deserialization
- 8:44 Using the deserialized object in the step definition
- 11:05 To do the deserialization, the domain class needs the constructors
- 12:00 Ignoring unknown json tags using lombok
- 13:58 Using hamcrest "is not" 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: 12-deserialization

============MENTIONED VIDEOS===========
- BDD Intro API TestsI: https://youtu.be/Eq_N_eYc3rY
- BDD What is it: https://youtu.be/4UuzwUUUIec
- BDD the pros and cons: https://youtu.be/UMpEpo6zuh8
- BDD Specification by Example: https://youtu.be/6RnK-Sa0dJw
- 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
- Cucumber Mapping the API: https://youtu.be/-_B2fFxfFdY
- Cucumber Creating hooks: https://youtu.be/Kg611Jv_ib8
- Cucumber Cleaning the data: https://youtu.be/IkH6gk2gNNQ
- Cucumber More complex jsons: https://youtu.be/YLuGI-j61MY

============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