This project automates tests for the YAS application using modern Java technologies.
- Java 21
- Spring Boot 3.2
- Cucumber
- Cucumber-Spring
- Selenium
- Cucumber-JUnit
- SonarCloud
flowchart TD
TestRunner("Test Runner (JUnit, TestNG)")
FeatureFile("Feature File (.feature)")
StepDefinitions("Step Definitions (using Java)")
Selenium("Selenium WebDriver")
WebApp("Web Application")
TestRunner --> FeatureFile
FeatureFile --> StepDefinitions
StepDefinitions --> Selenium
Selenium --> WebApp
To run the tests locally, follow the steps below:
Ensure the YAS application is running in your local environment.
You can run the tests in two modes:
-
Normal Mode: Run the tests normally with the following command:
mvn clean test
-
Headless Mode: To run the tests in headless mode, use the following command:
mvn clean test -Dheadless