mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Comments.
This commit is contained in:
parent
b3bffad341
commit
141b9519e6
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue