TestModuleUtil

mill.javalib.TestModuleUtil
final class TestModuleUtil(useArgsFile: Boolean, forkArgs: Seq[String], selectors: Seq[String], scalalibClasspath: Seq[PathRef], resources: Seq[PathRef], testFramework: String, runClasspath: Seq[PathRef], testClasspath: Seq[PathRef], args: Seq[String], testClassLists: Seq[Seq[String]], testrunnerEntrypointClasspath: Seq[PathRef], forkEnv: Map[String, String], testSandboxWorkingDir: Boolean, forkWorkingDir: Path, testReportXml: Option[String], javaHome: Option[Path], testParallelism: Boolean, testLogLevel: LogLevel, propagateEnv: Boolean)(implicit ctx: TaskCtx)

Implementation code used by TestModule to actually run tests.

Attributes

Source
TestModuleUtil.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def callTestRunnerSubprocess(baseFolder: Path, resultPath: Path, selector: Either[Seq[String], (Option[String], Path, Path)], poll: () => Unit)(implicit ctx: TaskCtx): Result[(String, Seq[TestResult])]

Attributes

Source
TestModuleUtil.scala
def jobsProcessLength(numTests: Int): (Int, Int)

Attributes

Source
TestModuleUtil.scala
def prepareTestClassesFolder(selectors2: Seq[String], base: Path): Path

Attributes

Source
TestModuleUtil.scala
def runTestFuture(filteredClassCount: Int, groupFolderData: Seq[(Path, Path, Int)], groupFolder: Path, testClassQueueFolder: Path, groupName: String, maxProcessLength: Int, paddedGroupIndex: String, processIndex: Int): (Path, Future[(Int, String, Option[Result[(String, Seq[TestResult])]])])

Attributes

Source
TestModuleUtil.scala
def runTestQueueScheduler(filteredClassLists: Seq[Seq[String]])(implicit ctx: TaskCtx): Result[(String, Seq[TestResult])]

Attributes

Source
TestModuleUtil.scala
def runTests(): Result[(msg: String, results: Seq[TestResult])]

Attributes

Source
TestModuleUtil.scala