UtestIntegrationTestSuite

mill.testkit.UtestIntegrationTestSuite
abstract class UtestIntegrationTestSuite extends TestSuite, IntegrationTestSuite

Attributes

Source
UtestIntegrationTestSuite.scala
Graph
Supertypes
class TestSuite
trait TestSuitePlatformSpecific
trait TestSuiteVersionSpecific
trait Executor
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

protected def daemonMode: Boolean

If true, run Mill subprocesss normally as a client to a long-lived background daemon. If false, run the Mill subprocess with --no-server so it exits after every command. Both are useful depending on what you are trying to test, and generally Mill builds are expected to behave the same in both modes (except for performance differences due to in-memory caching)

If true, run Mill subprocesss normally as a client to a long-lived background daemon. If false, run the Mill subprocess with --no-server so it exits after every command. Both are useful depending on what you are trying to test, and generally Mill builds are expected to behave the same in both modes (except for performance differences due to in-memory caching)

Attributes

Source
UtestIntegrationTestSuite.scala
protected def isPackagedLauncher: Boolean

Whether the Mill JARs are published locally alongside this Mill launcher

Whether the Mill JARs are published locally alongside this Mill launcher

Attributes

Source
UtestIntegrationTestSuite.scala
protected def millExecutable: Path

Path to the Mill executable to use to run integration tests with

Path to the Mill executable to use to run integration tests with

Attributes

Source
UtestIntegrationTestSuite.scala
protected def workspaceSourcePath: Path

Where the project root of the Mill codebase under test is located on disk.

Where the project root of the Mill codebase under test is located on disk.

Attributes

Source
UtestIntegrationTestSuite.scala

Inherited methods

protected def cleanupProcessIdFile: Boolean

Attributes

Inherited from:
IntegrationTestSuite
Source
IntegrationTestSuite.scala
def debugLog: Boolean

Attributes

Inherited from:
IntegrationTestSuite
Source
IntegrationTestSuite.scala
def integrationTest[T](block: IntegrationTester => T): T

Run an integration test by providing an IntegrationTester to the given block.

Run an integration test by providing an IntegrationTester to the given block.

Attributes

Inherited from:
IntegrationTestSuite
Source
IntegrationTestSuite.scala
protected def propagateJavaHome: Boolean

Whether to pass the java.home property from the test runner to the Mill test process as the JAVA_HOME environment variable. This is usually what you want, since it ensures the JVM version is consistent, but occasionally you may want to disable propagation because you explicitly want to test the Mill subprocess using a different JVM version

Whether to pass the java.home property from the test runner to the Mill test process as the JAVA_HOME environment variable. This is usually what you want, since it ensures the JVM version is consistent, but occasionally you may want to disable propagation because you explicitly want to test the Mill subprocess using a different JVM version

Attributes

Inherited from:
IntegrationTestSuite
Source
IntegrationTestSuite.scala
def utestAfterAll(): Unit

Attributes

Inherited from:
Executor
def utestAfterEach(path: Seq[String]): Unit

Attributes

Inherited from:
Executor
def utestBeforeEach(path: Seq[String]): Unit

Attributes

Inherited from:
Executor
def utestFormatter: Formatter

Attributes

Inherited from:
TestSuite
def utestWrap(path: Seq[String], runBody: => Future[Any])(implicit ec: ExecutionContext): Future[Any]

Attributes

Inherited from:
Executor

Inherited and Abstract methods

def tests: Tests

Attributes

Inherited from:
TestSuite

Deprecated and Inherited methods

transparent inline def apply(inline expr: Unit): Tests

Attributes

Deprecated
Use `utest.Tests{...}` instead
Inherited from:
TestSuiteVersionSpecific