ScriptedTests

sbt.scriptedtest.ScriptedTests$
See theScriptedTests companion class

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Types

type TestRunner = () => Seq[Option[String]]

Represents the function that runs the scripted tests, both in single or batch mode.

Represents the function that runs the scripted tests, both in single or batch mode.

Attributes

Value members

Concrete methods

def main(args: Array[String]): Unit

Inherited methods

def get(tests: Seq[String], baseDirectory: File, accept: ScriptedTest => Boolean, log: Logger): Seq[ScriptedTest]

Attributes

Inherited from:
ScriptedRunner
def listTests(baseDirectory: File, accept: ScriptedTest => Boolean, log: Logger): Seq[ScriptedTest]

Attributes

Inherited from:
ScriptedRunner
def parseTests(in: Seq[String]): Seq[ScriptedTest]

Attributes

Inherited from:
ScriptedRunner
def run(resourceBaseDirectory: File, bufferLog: Boolean, tests: Array[String], launcherJar: File, javaCommand: String, launchOpts: Array[String], prescripted: List[File]): Unit

This is the entry point used by SbtPlugin in sbt 2.0.x etc. Removing this method will break scripted and sbt plugin cross building. See https://github.com/sbt/sbt/issues/3245

This is the entry point used by SbtPlugin in sbt 2.0.x etc. Removing this method will break scripted and sbt plugin cross building. See https://github.com/sbt/sbt/issues/3245

Attributes

Inherited from:
ScriptedRunner
def run(resourceBaseDirectory: File, bufferLog: Boolean, tests: Array[String], launcherJar: File, launchOpts: Array[String], prescripted: List[File]): Unit

This is the entry point used by SbtPlugin in sbt 1.2.x, 1.3.x, 1.4.x etc. Removing this method will break scripted and sbt plugin cross building. See https://github.com/sbt/sbt/issues/3245 See https://github.com/sbt/sbt/blob/v1.2.8/main/src/main/scala/sbt/ScriptedPlugin.scala#L109-L113

This is the entry point used by SbtPlugin in sbt 1.2.x, 1.3.x, 1.4.x etc. Removing this method will break scripted and sbt plugin cross building. See https://github.com/sbt/sbt/issues/3245 See https://github.com/sbt/sbt/blob/v1.2.8/main/src/main/scala/sbt/ScriptedPlugin.scala#L109-L113

Attributes

Inherited from:
ScriptedRunner
def run(resourceBaseDirectory: File, bufferLog: Boolean, tests: Array[String], launcherJar: File, launchOpts: Array[String]): Unit

This is the entry point used by sbt-scripted 0.13.18. Removing this method will break sbt plugin cross building. See https://github.com/sbt/sbt/issues/3245 See https://github.com/sbt/sbt/blob/v0.13.18/scripted/plugin/src/main/scala/sbt/ScriptedPlugin.scala#L39

This is the entry point used by sbt-scripted 0.13.18. Removing this method will break sbt plugin cross building. See https://github.com/sbt/sbt/issues/3245 See https://github.com/sbt/sbt/blob/v0.13.18/scripted/plugin/src/main/scala/sbt/ScriptedPlugin.scala#L39

Attributes

Inherited from:
ScriptedRunner
def runAll(toRun: ParSeq[TestRunner]): Unit

Attributes

Inherited from:
ScriptedRunner
def runAll(toRun: Seq[TestRunner]): Unit

Attributes

Inherited from:
ScriptedRunner
def runInParallel(baseDir: File, bufferLog: Boolean, tests: Array[String], launchOpts: Array[String], prescripted: List[File], sbtVersion: String, scalaVersion: String, classpath: Array[File], instances: Int): Unit

Attributes

Inherited from:
ScriptedRunner
def runInParallel(baseDir: File, bufferLog: Boolean, tests: Array[String], logger: Logger, launchOpts: Array[String], prescripted: List[File], scalaVersion: String, sbtVersion: String, classpath: Array[File], instances: Int): Unit

Attributes

Inherited from:
ScriptedRunner
def runInParallel(resourceBaseDirectory: File, bufferLog: Boolean, tests: Array[String], launcherJar: File, javaCommand: String, launchOpts: Array[String], prescripted: List[File], instance: Int): Unit

This is the entry point used by SbtPlugin in sbt 2.0.x etc. Removing this method will break scripted and sbt plugin cross building. See https://github.com/sbt/sbt/issues/3245

This is the entry point used by SbtPlugin in sbt 2.0.x etc. Removing this method will break scripted and sbt plugin cross building. See https://github.com/sbt/sbt/issues/3245

Attributes

Inherited from:
ScriptedRunner
def runInParallel(resourceBaseDirectory: File, bufferLog: Boolean, tests: Array[String], launcherJar: File, launchOpts: Array[String], prescripted: List[File], instance: Int): Unit

This is the entry point used by SbtPlugin in sbt 1.2.x, 1.3.x, 1.4.x etc. Removing this method will break scripted and sbt plugin cross building. See https://github.com/sbt/sbt/issues/3245 See https://github.com/sbt/sbt/blob/v1.2.8/main/src/main/scala/sbt/ScriptedPlugin.scala#L109-L113

This is the entry point used by SbtPlugin in sbt 1.2.x, 1.3.x, 1.4.x etc. Removing this method will break scripted and sbt plugin cross building. See https://github.com/sbt/sbt/issues/3245 See https://github.com/sbt/sbt/blob/v1.2.8/main/src/main/scala/sbt/ScriptedPlugin.scala#L109-L113

Attributes

Inherited from:
ScriptedRunner

Deprecated and Inherited methods

def get(tests: Seq[String], baseDirectory: File, log: Logger): Seq[ScriptedTest]

Attributes

Deprecated
true
Inherited from:
ScriptedRunner
def listTests(baseDirectory: File, log: Logger): Seq[ScriptedTest]

Attributes

Deprecated
true
Inherited from:
ScriptedRunner