karatelabs / karate

Test Automation Made Simple
https://karatelabs.github.io/karate
MIT License
8.26k stars 1.94k forks source link

Junit5 and Gradle #868

Closed TheShed412 closed 5 years ago

TheShed412 commented 5 years ago

I went through the docs and found nothing on this, but it seems the maven-surefire-reports is needed, and that doesn't seem to be available for Gradle.

And on a few other issues it seems that Gradle is somewhat of an after thought and all questions using Gradle seem to be using Junit4. I wasn't sure if Junit5 had support with gradle and karate.

ptrthomas commented 5 years ago

yes, I don't use gradle and that may reflect in the project. why don't you step up and contribute the missing JUnit 5 pieces, it is not a priority for me and honestly if I had my way, Gradle would not exist because it has so many compatibility issues from a framework dev point of view.

ptrthomas commented 5 years ago

for those reading this - I've created a wiki with whatever little I know of how to get Gradle to work - https://github.com/intuit/karate/wiki/Gradle - would be nice to have validation that it actually works in the wild