MillFramework

utest.runner.MillFramework
class MillFramework extends Framework

MillFramework this default to true since Mill's test-interface support isn't buggy and doesn't need utest to rely on println

Attributes

Graph
Supertypes
class Framework
trait Formatter
trait Framework
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def useSbtLoggers: Boolean

Whether to use SBT's test-logging infrastructure, or just println.

Whether to use SBT's test-logging infrastructure, or just println.

Defaults to println because SBT's test logging doesn't seem to give us anything that we want, and does annoying things like making a left-hand gutter and buffering input by default

Attributes

Definition Classes

Inherited methods

def assertPrettyPrinter(x: Any, height: Int): Str

Override this to customize how values are written to the console during assert errors

Override this to customize how values are written to the console during assert errors

Attributes

Inherited from:
Formatter

Attributes

Inherited from:
Formatter

Attributes

Inherited from:
Formatter

Attributes

Inherited from:
Formatter

Attributes

Inherited from:
Formatter

Attributes

Inherited from:
Formatter

Attributes

Inherited from:
Formatter
def exceptionStackFrameHighlighter(s: StackTraceElement): Boolean

Attributes

Inherited from:
Formatter
def failureHeader: String

Attributes

Inherited from:
Framework
final def fingerprints(): Array[Fingerprint]

Attributes

Inherited from:
Framework
def formatColor: Boolean

Attributes

Inherited from:
Formatter
def formatException(x: Throwable, leftIndent: String): Str

Attributes

Inherited from:
Formatter
def formatIcon(success: Boolean): Str

Attributes

Inherited from:
Formatter

Attributes

Inherited from:
Formatter
def formatResultColor(success: Boolean): Attrs

Attributes

Inherited from:
Formatter
def formatSingle(path: Seq[String], r: Result): Option[Str]

Attributes

Inherited from:
Formatter
def formatSummary(topLevelName: String, results: HTree[String, Result]): Option[Str]

Attributes

Inherited from:
Formatter

Attributes

Inherited from:
Formatter
def formatValue(x: Any): Str

Attributes

Inherited from:
Formatter
def formatWrapWidth: Int

Attributes

Inherited from:
Formatter
def goldenLiteralPrinter(x: Any): String

Override this to customize how values are written to source files during assertGoldenLiteral updates

Override this to customize how values are written to source files during assertGoldenLiteral updates

Attributes

Inherited from:
Formatter
def joinLineStr(lines: Seq[Str], leftIndent: String): Str

Attributes

Inherited from:
Formatter
def lineWrapInput(input: Str, leftIndent: String): Seq[Str]

Attributes

Inherited from:
Formatter
def name(): String

Attributes

Inherited from:
Framework
def resultsHeader: String

Attributes

Inherited from:
Framework
final def runner(args: Array[String], remoteArgs: Array[String], testClassLoader: ClassLoader): Runner

Attributes

Inherited from:
Framework
def setup(): Unit

Override to run code before tests start running. Useful for setting up global databases, initializing caches, etc.

Override to run code before tests start running. Useful for setting up global databases, initializing caches, etc.

Attributes

Inherited from:
Framework

How many tests need to run before uTest starts printing out the test results summary and test failure summary at the end of a test run. For small sets of tests, these aren't necessary since all the output fits nicely on one screen; only when the number of tests gets large and their output gets noisy does it become valuable to show the clean summaries at the end of the test run.

How many tests need to run before uTest starts printing out the test results summary and test failure summary at the end of a test run. For small sets of tests, these aren't necessary since all the output fits nicely on one screen; only when the number of tests gets large and their output gets noisy does it become valuable to show the clean summaries at the end of the test run.

Attributes

Inherited from:
Framework
final def slaveRunner(args: Array[String], remoteArgs: Array[String], testClassLoader: ClassLoader, send: String => Unit): ScalaJsSlaveRunner

Attributes

Inherited from:
Framework
def startHeader(path: String): String

Attributes

Inherited from:
Framework
def teardown(): Unit

Override to run code after tests finish running. Useful for shutting down daemon processes, closing network connections, etc.

Override to run code after tests finish running. Useful for shutting down daemon processes, closing network connections, etc.

Attributes

Inherited from:
Framework

Attributes

Inherited from:
Formatter

Attributes

Inherited from:
Formatter
def wrapLabel(leftIndentCount: Int, r: Result, label: String): Str

Attributes

Inherited from:
Formatter