How to run karate tests from project jar?

Not something we directly support but teams have done this in Spring Boot etc. It should be possible, see if this thread helps: https://github.com/intuit/karate/issues/520

Also you may not need JUnit also: https://github.com/intuit/karate/issues/427

And see the sample project in this ticket as an example: https://github.com/intuit/karate/issues/529

EDIT – in 1.0 onwards we hope that class-loading from spring-boot JAR files is more reliable: https://github.com/intuit/karate/issues/751

Leave a Comment