Ad hoc testing Beyond the unit tests, ad hoc "integration testing" can be done by running via Gradle passing the intended command-line via --args, such as: ./gradlew run --args="assert fileExists build.gradle"