- Introduction
- Overview
- Test Plan
- How to run tests on local
- View the reports
- How to run the test in a CI/CD
- Test Environment and Tech Stack
This repository is a demonstration to show how I develop a hybrid framework. It consists of POM pattern, Cucumber integration for putting BDD practice into it. It can be tracked the Jira item directly from the tests with related Jira ticket annotation. GitHub Runners used as a CI/CD. After tests completed, Serenity BDD creates fancy reports. In addition to this, in case any failure tests occurs, the solution creates a Jira item automatically. Finally Zephyr scale tests cases' status as Pass or Failed. Note: It cannot be built unless you adapt the environment and page objects. It stores the smoke tests so that seeing the apps are good enough for the further testing. It consists of a minimal set of tests run on each build to test apps' functionalities. In simple terms, we are verifying whether the important features are working and there are no showstoppers in the build that is under testing.
All details about the object, approach, features to be tested and more in Test Plan
- Clone the repository
https://github.com/alipala/hybrid-test-automation.git
- The project supports Maven build scripts. To run the tests with Maven, open a command window and run:
mvn clean verify
The command provided above will produce a Serenity test report in the target/site/serenity/index.html directory.
After running the tests, Serenity will provide you the report link automatically. Just click!
- Follow this link below to see the workflows
https://github.com/alipala/hybrid-test-automation/actions
- App for retail store management
- Google Chrome
- Serenity BDD
- Cucumber 6
- Selenium Webdriver for Java bindings
- JUnit for test framework
- See the other dependencies in pom.xml like JDBC for Oracle DB connection, Jira and Zephyr integration, etc.
The JAVA and MAVEN must be installed and set the environment variable depends on your OS