1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

Launch the test JVM with "-ea".

Fixes https://github.com/cbeust/kobalt/issues/303.
This commit is contained in:
Cedric Beust 2016-09-07 09:53:32 -07:00
parent 079890b2e7
commit 9fb3eb87a2
2 changed files with 5 additions and 4 deletions

View file

@ -146,6 +146,7 @@ abstract class GenericTestRunner: ITestRunnerContributor {
// Default JVM args
val jvmFlags = arrayListOf<String>().apply {
addAll(testConfig.jvmArgs)
add("-ea")
add("-classpath")
add(classpath.map { it.jarFile.get().absolutePath }.joinToString(File.pathSeparator))
}