test

abstract fun test(name: String, ignored: Boolean, testFn: () -> Any?)(source)

Declares a test.

Since Kotlin

1.1

Parameters

name

the test name.

ignored

whether the test is ignored

testFn

contains test body invocation