Reputation: 511
I have JUnit tests that have a rest-assured dependency.
How can I run these in Gradle?
Upvotes: 0
Views: 1479
Reputation: 27984
I have no idea what you mean by 'rest assured' tests but I'll assume you just want to run either JUnit or TestNG tests in gradle. You should really remove any maven references from your question to avoid confusion... this is a simple Gradle question and has nothing to do with Maven.
The following line in your build.gradle
apply plugin: java
Adds the java plugin to your build which adds appropriate test tasks to your build. Please see the java plugin documentation for configuring JUnit / TestNG
Upvotes: 3