test
Требования к платформе и версии: JS (1.1), Wasm-JS (1.8), Wasm-WASI (1.8)
abstract fun test(name: String, ignored: Boolean, testFn: () -> Any?)
Объявляет тест.
Параметры
name
название теста.
ignored
указывает, следует ли пропустить тест
test Fn
содержит вызов тела теста
© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-test/kotlin.test/-framework-adapter/test.html