The is a UI test framework, which will be referenced by test projects.
mvn archetype:generate -Dfilter=com.xyz
- root
- |- ui-tests-base (THE framework)
- |- ui-tests-archetype (archetype project used to generate a test project)
- |- example-ui-test (a sample test project)
mvn clean install -Denv=local
OR
mvn clean install -Dcucumber.options="--tags @smoke" -Denv=local
mvn clean install -Dcucumber.options="--tags @api" -DapiTest -Denv=aws
In the test project navigate to target/cucumber-html-reports/overview-steps.html
Use develop
branch for active development. master
branch is to version control healthy set of tests.
Once you have cloned the project
- check out the
develop
branch :git checkout develop
- create feature branches using
git checkout -b feature\<feature-name>
- Make changes , commit and push the local feature branch to remote( or origin)
- Create a merge request to be merged into develop branch
From develop
branch run :
mvn jgitflow:release-start
mvn jgitflow:release-finish -Dmaven.test.skip=true