v1.8.10
  • Solutions
    • Multiplatform Mobile
    • Multiplatform for other platforms
    • Server-side
    • Web frontend
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
    • Playground
    • Hands-on
    • Examples
    • Koans
← 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
Kotlin™ is protected under the Kotlin Foundation and licensed under the Apache 2 license.
Supported and developed by JetBrains