Package-level declarations
Contains builders which help in creating different types of Expect
.
Types
Link copied to clipboard
Helper lambda to specify FeatureExpectOptions via convenience methods.
Link copied to clipboard
interface RootExpectBuilder
Defines the contract to create custom expectation verbs, RootExpect<T>
respectively.
Functions
Link copied to clipboard
fun <R> FeatureExpectOptions(configuration: FeatureExpectOptionsChooser<R>.() -> Unit): FeatureExpectOptions<R>
Define additional (non-mandatory) options to create a FeatureExpect based on a given FeatureExpectOptionsChooser-lambda.
Link copied to clipboard
fun <T> RootExpectOptions(configuration: RootExpectBuilder.OptionsChooser<T>.() -> Unit): RootExpectOptions<T>
Helper function to create a RootExpectOptions via
Link copied to clipboard
inline fun <I : Any, T> RootExpectBuilder.OptionsChooser<T>.withComponent(noinline factory: (ComponentFactoryContainer) -> I)
Convenience function which infers the KClass usually required for RootExpectBuilder.OptionsChooser.withComponent.