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

CompilerTest

[jvm]
data class CompilerTest(config: CompilerTest.Companion.() -> List<Config>, code: CompilerTest.Companion.() -> Code, assert: CompilerTest.Companion.() -> Assert)

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

See also

jvm

   
assertThis  

Constructors

   
CompilerTest [jvm]
fun CompilerTest(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
<