Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guedesrodriguezleonardo/karate-api
API Automation testing framework using Karate and Gherkin
https://github.com/guedesrodriguezleonardo/karate-api
api-testing gherkin karate test-automation
Last synced: 4 days ago
JSON representation
API Automation testing framework using Karate and Gherkin
- Host: GitHub
- URL: https://github.com/guedesrodriguezleonardo/karate-api
- Owner: guedesrodriguezleonardo
- Created: 2023-05-01T19:26:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-18T22:41:48.000Z (over 1 year ago)
- Last Synced: 2024-11-09T12:34:08.464Z (2 months ago)
- Topics: api-testing, gherkin, karate, test-automation
- Language: Gherkin
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# karate-api project âŠī¸
This project is a demonstration of a basic Karate API automation framework that uses Maven as the build automation tool. The purpose of this framework is to simplify automated API testing of web applications.
## How to run
To get started with this project, follow the steps below:1. Clone the repository to your local machine
2. Run the entire test suite using Maven:
```
mvn clean test
```
3. To run a specific test, you can use the tags defined in the feature files. For example, if you want to run a test tagged as **@create_pet**, you can use the following command:
```
mvn clean test "-Dkarate.options=--tags @create_pet"
```
Replace **@create_pet** with the desired tag for the specific test you want to run.### đ Karate Report
This project uses the Karate Report to generate an interactive report that provides information about the test results.
After running the tests, the report is generated in the **/target/karate-reports** directory.