'Karate: Can we add Karate-Robot to existing project in eclipse

I have a Karate project for API+UI in Eclipse IDE can i add Karate-robot to the same project to have more scenarios

I gone through the document and download the ZIP and jar and tried to run in command screen and it worked, but i like to try and implement in eclipse IDE existing project.

Is there any sample project in GIT, i tried with karate-robot from karate-1.2.0.RC1 release but its not executing in IDE.

Kindly let me know a way to implement karate-robot in eclipse IDE as we use this IDE for API and UI and Intellij for Performance.



Solution 1:[1]

Karate Robot is just a Maven library like everything else, refer the docs: https://github.com/karatelabs/karate/tree/master/karate-robot#maven

So just adding this to your pom.xml or equivalent should just work:

<dependency>
    <groupId>com.intuit.karate</groupId>
    <artifactId>karate-robot</artifactId>
    <version>${karate.version}</version>
    <scope>test</scope>
</dependency>

But if you run into further issues, please consider contributing code :)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Peter Thomas