Skip to content

alexendrios/exemplesKarate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Framework Karate

Dependencies

  • Maven
  • Java 8 (Open SDK)

Setup

  • Clone project: '$ git clone ssh://[email protected]:7999/braz/framework-automation-api.git'

Test Execution

Environments

  • dev
  • uat
  • prod

Run all tests

$ mvn clean test -DargLine="-Dkarate.env=dev"

Run tests by tag

$ mvn clean test -DargLine="-Dkarate.env=dev" "-Dkarate.options=--tags=@inm_test --tags=~@ignore"

Test Report

  • Karate Report: karate_api/target/surefire-reports/karate-summary.html
  • Cucumber: karate_api/target/cucumber-html-reports

After pointing the image and the tag you would like to use on the container, just type the exact same command you would run if you were executing the tests locally. On the above example, the command was mvn clean test

Launch Parameters

Parameter Possible Values Default Value
-Dkarate.env=env dev / prod / uat dev
-Dkarate.options=--tags=@tag any tag no tag (all tests are executed)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published