The folder structure for test automation will be as follows:
tests
├── src
│ └── main
| └── test
| | └──resources
├── .gitignore
├── pom.xml
└── README.md
Docker-compose up and then run mvn command from the root
mvn verify -f tests/pom.xmlTests can be run with BCEID and BC Services card on dev
Assign value to the "AUTH_PROVIDER" env variable as below
AUTH_PROVIDER:bceidor
AUTH_PROVIDER:bcscRunning the tests create an html report here
We support running the tests with the current tags:
@frontendUsing tags will only run the specified tests.
cd testsmvn verify -Dcucumber.options="--tags '@backend'"mvn verify -Dcucumber.options="--tags '@frontend'"Useful cucumber plugins to write feature files
- Cucumber for java from Jetbrains
- Gherkin from Jetbrains