meta-test / arrow.meta.plugin.testing / CompilerTest

CompilerTest

data class CompilerTest

Allows to provide configuration and code for the compilation and to indicate the expected behaviour.

See Also

assertThis

Types

Companion companion object Companion : ConfigSyntax, CodeSyntax, AssertSyntax

Constructors

<init> Allows to provide configuration and code for the compilation and to indicate the expected behaviour.CompilerTest(config: CompilerTest.Companion.() -> List<Config> = { emptyList() }, code: CompilerTest.Companion.() -> Code, assert: CompilerTest.Companion.() -> Assert)

Properties

assert Expected behaviour during and after compilation.val assert: CompilerTest.Companion.() -> Assert
code Code snippet o snippets which will be compiled.val code: CompilerTest.Companion.() -> Code
config Necessary configuration to run the compilation.val config: CompilerTest.Companion.() -> List<Config>

Companion Object Functions

invoke operator fun invoke(f: CompilerTest.Companion.() -> CompilerTest): CompilerTest

Do you like Arrow?

Arrow Org
<