ExpectGroupedBasedExpectTestExecutable

Defines a TestExecutable which will create an ExpectGrouping for the top branch node and provides expect as expectation verb, i.e. works on ExpectTestExecutable.

Since

1.3.0

Inheritors

Constructors

Link copied to clipboard
constructor(expectationVerbs: ExpectationVerbs)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T> expect(subject: T): Expect<T>

Creates an Expect for the given subject.

open override fun <T> expect(subject: T, expectationCreator: Expect<T>.() -> Unit): Expect<T>

Creates an Expect for the given subject and appends the expectations the given expectationCreator-lambda creates as group to it.

Link copied to clipboard
open override fun expectGrouped(description: String?, groupingActions: ExpectGrouping.() -> Unit): ExpectGrouping

Creates an ExpectGrouping which can be used to group multiple unrelated subjects.

Link copied to clipboard
abstract fun testFactory(expectGrouping: ExpectGrouping): ExpectTestExecutableT