IntegrationTester

mill.testkit.IntegrationTester
See theIntegrationTester companion class

Attributes

Companion
class
Source
IntegrationTester.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class EvalResult(exitCode: Int, out: String, err: String)

A very simplified version of os.CommandResult meant for easily performing assertions against.

A very simplified version of os.CommandResult meant for easily performing assertions against.

Attributes

Source
IntegrationTester.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait Impl extends AutoCloseable, IntegrationTesterBase

Attributes

Source
IntegrationTester.scala
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
case class PreparedEval(cmd: Shellable, env: Map[String, String], cwd: Path, timeout: Duration, check: Boolean, propagateEnv: Boolean, shutdownGracePeriod: Long, run: () => EvalResult, spawn: () => SubProcess)

An Impl.eval that is prepared for execution but haven't been executed yet. Run it with run.

An Impl.eval that is prepared for execution but haven't been executed yet. Run it with run.

Attributes

Source
IntegrationTester.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SpawnedProcess(process: SubProcess, chunks: Buffer[Either[Bytes, Bytes]])

A spawned subprocess with automatic stdout/stderr capture. Each line printed to stdout/stderr is captured in the buffer and also printed to console. The buffer preserves ordering, with Left representing stdout and Right representing stderr.

A spawned subprocess with automatic stdout/stderr capture. Each line printed to stdout/stderr is captured in the buffer and also printed to console. The buffer preserves ordering, with Left representing stdout and Right representing stderr.

Attributes

Source
IntegrationTester.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all