This project includes API Automation Testing with Karate Framework.
- Karate Framework - Development Framework
- Java/Javascript/Scala - Development Language
- IntelliJ IDE - Development IDE
- Maven - Package Management
-
IntelliJ IDE must be installed. Link to install
-
Java must be installed. Link to install
- cd "file Path"
- mvn archetype:generate -DarchetypeGroupId=com.intuit.karate -DarchetypeArtifactId=karate-archetype -DarchetypeVersion=1.3.1 -DgroupId=com.mycompany -DartifactId=webinar
-
It can be run based on scenario or feature by pressing the green RUN button on the IDE.
-
Scenarios determined on the JUnit runner can be run again by pressing the green RUN button.
-
Running it via CLI by giving 'Runner class' and 'tagname'.
mvn clean test -Dtest=RunnerName "-Dkarate.options=--tags @tagName"
mvn clean test -Dtest="CucumberRunner#testAll"