https://github.com/znsio/getting-started-with-karate
https://github.com/znsio/getting-started-with-karate
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/znsio/getting-started-with-karate
- Owner: znsio
- License: mit
- Created: 2022-02-21T12:45:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T12:50:11.000Z (about 2 years ago)
- Last Synced: 2024-04-22T13:58:07.597Z (about 2 years ago)
- Language: Java
- Size: 257 KB
- Stars: 1
- Watchers: 7
- Forks: 21
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# getting-started-with-karate
Sample project to get started with implementing and running karate tests, in a structured fashion.
Results are published in junit, html and cucumber-reporting format. Results are also published to [ReportPortal](./docs/ReportPortal.md)
## Running the tests with gradle command
Example
TARGET_ENVIRONMENT=prod TYPE=workflow ./gradlew clean test
## Build the uber jar
- Build an uber jar:
`./gradlew build`
- The above command will create a jar in the upload folder with the name like: `upload/getting-started-with-karate-0.0.1.jar`
### Running the tests with a shell script:
cd upload
PARALLEL=3 TARGET_ENVIRONMENT=prod TYPE=workflow ./runAPIWorkflowTests.sh
### Running the tests with the uber jar:
cd upload
PARALLEL=3 TARGET_ENVIRONMENT=prod TYPE=workflow java -jar getting-started-with-karate-0.0.1.jar
## [ReportPortal](./docs/ReportPortal.md)
## [Configuration parameters](./docs/ConfigurationParameters.md)
## [Project specific customisations](./docs/ProjectSpecificCustomizations.md)
## [Machine setup](./docs/MachineSetup.md)
## Guidelines
Read the [CODING GUIDLINES FOR AUTOMATION USING KARATE](docs/READMEGuideline.md) for writing tests in this framework
# Contact
Contact [@BagmarAnand](https://twitter.com/BagmarAnand) for help / information / feedback on this repo