How to execute TestNG suite using YAML file? | Testing Framework Java | TestNG Tutorials | #20

Опубликовано: 29 Сентябрь 2024
на канале: The Testing Instinct
307
2

#selenium
#testng
#seleniumwebdriver
#seleniumjava
#webautomation
#postman
#java
#maven
#maventutorial
#karate
#restapi
#restapiautomation
#apitesting
#malayalam
#softwaretesting
#beginners
#മലയാളം
#TheTestingInstinct
#tutorials

The video describes about how to execute TestNG suite using a YAML file.

What is YAML?

YAML is a human-readable data serialization language that is often used for writing configuration files. YAML stands for yet another markup language. YAML files use a .yml or .yaml extension, and follow specific syntax rules.

YAML Advantages over XML

YAML offers a more streamlined and visually appealing configuration format. It's easier to understand, write, and maintain, especially for complex test suites. Additionally, the TestNG Eclipse plug-in recognizes YAML files, providing seamless integration within your development environment.

testng.yaml file

name: Suite
tests:
- name: Test
classes:
- com.tests.yaml.YamlDemoTest

Snake YAML dependency: https://mvnrepository.com/artifact/or...
Github Repo: https://github.com/thetestinginstinct...

Video chapters:
0:00 Introduction & Agenda
0:11 What is YAML?
0:55 YAML advantages over XML
2:32 Adding dependency and Demo of TestNG suite execution using YAML file

Playlist link:   • TestNG | Testing Framework for Java P...  
Maven setup video:   • How to Install Maven in Windows OS. T...  
Software Testing playlist link:    • Software Testing for Beginners| Malay...  
Selenium Java playlist link:    • Selenium Java Tutorials in Malayalam ...  
Postman Playlist link:   • Postman Rest API Testing | Become an ...  
Karate Playlist link:    • Karate REST API Test Automation|REST ...