Skip to content

Behavior driven development (BDD) approach to write automation test scripts to test Rest Services using Java and Karate with BDD syntax.

Notifications You must be signed in to change notification settings

leoduprates/KarateTesting

Repository files navigation

Java Karate Cucumber JUnit5 Gradle Docker LinkedIn

Karate Testing

Behavior driven development (BDD) approach to write automation test scripts to test Rest Services using Java and Karate with BDD syntax.

Project Architecture

The project architecture uses the Karate Conventions.

KarateTesting/
├── src
│   ├── test
│       ├── java/com/example/testautomation
│           ├── weather
│           ├── Runner.java
│       ├── build
│           ├── karate-reports

Built With

Design Patterns

This project uses the design patterns from Google Java Style Guide.

Getting Started

1. Java installation instructions: java.com

2. Gradle installation instructions: gradle.org

3. Build Project

$ gradle build

4. Run Tests

$  gradle test

5. Reports: /build/karate-reports/karate-summary.html

Docker

Container Image: OpenJDK 11

1. Build Container:

$ docker build --tag=leoduprates/karatetesting .

2. Run Container:

$ docker run -it --rm leoduprates/karatetesting:latest

Links

About

Behavior driven development (BDD) approach to write automation test scripts to test Rest Services using Java and Karate with BDD syntax.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published