suite

abstract fun suite(name: String, ignored: Boolean, suiteFn: () -> Unit)(source)

Declares a test suite.

Since Kotlin

1.1

Parameters

name

the name of the test suite, e.g. a class name

ignored

whether the test suite is ignored, e.g. marked with Ignore annotation

suiteFn

defines nested suites by calling kotlin.test.suite and tests by calling kotlin.test.test