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

CompilerTest

data class CompilerTest(val config: CompilerTest.Companion.() -> List<Config> = { emptyList() }, val code: CompilerTest.Companion.() -> Code, val assert: CompilerTest.Companion.() -> Assert)

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

See also

 
assertThis

Constructors

   
CompilerTest [jvm]
constructor(config: CompilerTest.Companion.() -> List<Config> = { emptyList() }, code: CompilerTest.Companion.() -> Code, assert: CompilerTest.Companion.() -> Assert)

Types

Name Summary
Companion [jvm]
object Companion : ConfigSyntax, CodeSyntax, AssertSyntax

Properties

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

Do you like Arrow?

Arrow Org
<