Gradle will automatically run tests in
(Although this can be configured.)
If you have junit 4 tests, you simply need to annotate the methods with @Test, and Gradle will run them.
You'll get a nice report in
If you run 'gradle build' or 'gradle test' you'll see the tests running.
If you need dependencies for these tests that shouldn't appear in the final build, you can use the testCompile source set:
Page 1 of 1