//arrow-meta-test/arrow.meta.plugin.testing/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.
assertThis |
CompilerTest | [jvm] constructor(config: CompilerTest.Companion.() -> List<Config> = { emptyList() }, code: CompilerTest.Companion.() -> Code, assert: CompilerTest.Companion.() -> Assert) |
Name | Summary |
---|---|
Companion | [jvm] object Companion : ConfigSyntax, CodeSyntax, AssertSyntax |
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?
✖