toggle menu
ktor
3.0.0
3.0.3
3.0.2
3.0.0
2.3.12
2.2.4
2.0.3
1.6.8
common
jsAndWasmShared
jvm
posix
switch theme
search in API
ktor-server-test-base
/
io.ktor.server.test.base
/
BaseTest
Base
Test
common
jsAndWasmShared
jvm
posix
expect
abstract
class
BaseTest
Inheritors
EngineTestBase
actual
abstract
class
BaseTest
Inheritors
EngineTestBase
@
CoroutinesTimeout
(
testTimeoutMs
=
300000
)
actual
abstract
class
BaseTest
Inheritors
EngineTestBase
actual
abstract
class
BaseTest
Inheritors
EngineTestBase
Members
Constructors
Base
Test
Link copied to clipboard
common
jsAndWasmShared
jvm
posix
expect
constructor
(
)
actual
constructor
(
)
actual
constructor
(
)
actual
constructor
(
)
Properties
test
Method
Link copied to clipboard
jvm
var
testMethod
:
Optional
<
Method
>
test
Name
Link copied to clipboard
jvm
var
testName
:
String
timeout
Link copied to clipboard
common
jsAndWasmShared
jvm
posix
expect
open
val
timeout
:
Duration
actual
open
val
timeout
:
Duration
actual
open
val
timeout
:
Duration
actual
open
val
timeout
:
Duration
Functions
_verify
Errors
Link copied to clipboard
jsAndWasmShared
posix
fun
_verifyErrors
(
)
fun
_verifyErrors
(
)
collect
Unhandled
Exception
Link copied to clipboard
common
jsAndWasmShared
jvm
posix
expect
fun
collectUnhandledException
(
error
:
Throwable
)
actual
fun
collectUnhandledException
(
error
:
Throwable
)
actual
fun
collectUnhandledException
(
error
:
Throwable
)
actual
fun
collectUnhandledException
(
error
:
Throwable
)
run
Test
Link copied to clipboard
common
jsAndWasmShared
jvm
posix
expect
fun
runTest
(
block
:
suspend
CoroutineScope
.
(
)
->
Unit
)
:
TestResult
actual
fun
runTest
(
block
:
suspend
CoroutineScope
.
(
)
->
Unit
)
:
TestResult
actual
fun
runTest
(
block
:
suspend
CoroutineScope
.
(
)
->
Unit
)
:
TestResult
actual
fun
runTest
(
block
:
suspend
CoroutineScope
.
(
)
->
Unit
)
:
TestResult
set
Up
Link copied to clipboard
jvm
@
BeforeEach
fun
setUp
(
testInfo
:
TestInfo
)
throw
Errors
Link copied to clipboard
jvm
@
AfterEach
fun
throwErrors
(
)