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

Comments.

This commit is contained in:
Cedric Beust 2015-12-16 01:42:10 +04:00
parent b3bffad341
commit 141b9519e6
2 changed files with 8 additions and 0 deletions

View file

@ -12,6 +12,10 @@ import com.beust.kobalt.misc.log
import java.io.File
import java.net.URLClassLoader
/**
* Base class for testing frameworks that are invoked from a main class with arguments. Test runners can
* subclass this class and override mainClass and args.
*/
abstract class GenericTestRunner : ITestRunnerContributor {
abstract val mainClass: String
abstract fun args(project: Project, classpath: List<IClasspathDependency>) : List<String>

View file

@ -1,5 +1,9 @@
package com.beust.kobalt.internal
/**
* SpekRunner triggers if it finds a dependency on org.jetbrains.spek but other than that, it just
* uses the regular JUnitRunner.
*/
public class SpekRunner() : JUnitRunner() {
override val dependencyName = "org.jetbrains.spek"
}