Would it be possible (how would I... ) use gradle to run JUnit tests? The primary reason for this is for pre-deploy integration tests outside of build environment. I have configured a project to package all the dependencies to run stand-alone integration testing, and would like to have consistency in the reporting provided by gradle in build-time unit / component testing.
My current methodology for this is to compile and archive main and test classes and then run by calling org.junit.runner.JUnitCore. Ideally, I wouldn't want to have environment dependencies on gradle in environments other than build (i.e. a method of doing this will a fully portable test suite). Any suggestions on this?
