← Docs
kotlin.test / kotlin.test / FrameworkAdapter / suite

suite

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

(source)

Declares a test suite.

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

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .