Behavior driven development (BDD) approach to write automation test scripts to test Rest Services using Java and Karate with BDD syntax.
The project architecture uses the Karate Conventions.
KarateTesting/
├── src
│ ├── test
│ ├── java/com/example/testautomation
│ ├── weather
│ ├── Runner.java
│ ├── build
│ ├── karate-reportsThis project uses the design patterns from Google Java Style Guide.
1. Java installation instructions: java.com
2. Gradle installation instructions: gradle.org
3. Build Project
$ gradle build4. Run Tests
$ gradle test5. Reports: /build/karate-reports/karate-summary.html
Container Image: OpenJDK 11
1. Build Container:
$ docker build --tag=leoduprates/karatetesting .2. Run Container:
$ docker run -it --rm leoduprates/karatetesting:latest