All tests are build using standard packaging solution: Maven. & could be centrally deployed using standard POM.XML Test are written in Cucumber BDD fashion
OS: Mac OS X or Win 8
Java 8 SDK
a) Import Maven Dependencies
b) Check the BDD Feature files located at:
> src/test/resources/features
b) In IntelliJ Go to src> test> runners> RunCucumberIT
c) Right click and Run
a) From commandline invoke mvn clean test
a) From commandline invoke mvn clean test
b) Install cucumber plugin for your IDE of choice (viz- IntelliJ)
b) Open the BDD Feature files & Right click and select Run on the feature:
> src/test/resources/features
-
The Test Runner will create Cucumber report at below folder
target/cucumber-html-report
-
Also, a interactive Donut report will be created in ${project.build.directory}/donut Command:
mvn clean integration-test generate
* Note: This plugin might need some local customisation. -
Logs will be generated under /log folder present under root directory
- Modularise Wiremock functionality.
- Add more granular assertions
- Add API tests for other requests GET, PUT, DELETE
- Implement Wiremock server start and stop through cucumber hook implementation
- Add more granular checks to validate response from API response
Please feel free to get back to me on the below email:
[email protected]
Many Thanks
(c) L Somni