JUnit5 | Readable tests

Опубликовано: 26 Февраль 2025
на канале: QaOps
192
4

In this video, we will be creating junit5 readable tests. We will be transforming all cucumber tests into junit5 to show you that it is possible to have good readability even without cucumber.

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

============TABLE OF CONTENTS===========
0:00 Introduction
1:21 Setting up junit 5
3:34 Creating the RestAssured setup class
5:38 Creating the class for the user's tests
7:09 Creating the test to create a new user
9:37 Deleting the user after the test's execution
12:44 junit5 test report

============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: 21-with-junit5

============MENTIONED VIDEOS===========
BDD Intro API TestsI:    • BDD | Intro API Tests  
BDD What is it:    • BDD | What is it  
BDD the pros and cons:    • BDD | the pros and cons  
BDD Specification by Example:    • BDD | Specification by Example  
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  
Cucumber Creating hooks:    • Cucumber | Creating hooks  
Cucumber Cleaning the data:    • Cucumber | Cleaning the Data  
Cucumber More complex jsons:    • Cucumber | more complex jsons  
Cucumber Deserialization:    • Cucumber | RestAssured Old Syntax  
Cucumber RestAssured Old Syntax:    • Cucumber | RestAssured Old Syntax  
Cucumber RestAssured assertions:    • Cucumber | RestAssured assertions  
Cucumber Preparing the Scenario:    • Cucumber | Preparing the scenario  
Cucumber Scenario Outline:    • Cucumber | Scenario Outline  
Cucumber Groovy Collections:    • How to use Groovy Collections  
Cucumber Assertions with Groovy Collections:    • Cucumber | Assertions with Groovy Col...  
Cucumber Creating builder from scratch:    • Cucumber | Creating builder from scratch  
Cucumber Last Scenario Part 1:    • Cucumber | Last scenario Part 1  
Cucumber Last Scenario Part 2:    • Cucumber | Last Scenario Part 2  

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

====OPENING IMAGE====
Loreena McKennitt: The Mask and mirror

====MUSIC BY====
Author: Simone Geravini
Licensed by: Zimo Music
   / @zimomusiclibrary