toggle menu
ktor
3.0.0-beta-2
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
jvmAndNix
jvm
nix
switch theme
search in API
ktor-server-test-base
/
io.ktor.server.test.base
/
BaseTest
Base
Test
jvmAndNix
jvm
nix
expect
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
jvmAndNix
jvm
nix
expect
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
jvmAndNix
jvm
nix
expect
open
val
timeout
:
Duration
actual
open
val
timeout
:
Duration
actual
open
val
timeout
:
Duration
Functions
_verify
Errors
Link copied to clipboard
nix
fun
_verifyErrors
(
)
collect
Unhandled
Exception
Link copied to clipboard
jvmAndNix
jvm
nix
expect
fun
collectUnhandledException
(
error
:
Throwable
)
actual
fun
collectUnhandledException
(
error
:
Throwable
)
actual
fun
collectUnhandledException
(
error
:
Throwable
)
run
Test
Link copied to clipboard
jvmAndNix
jvm
nix
expect
fun
runTest
(
block
:
suspend
CoroutineScope
.
(
)
->
Unit
)
actual
fun
runTest
(
block
:
suspend
CoroutineScope
.
(
)
->
Unit
)
actual
fun
runTest
(
block
:
suspend
CoroutineScope
.
(
)
->
Unit
)
set
Up
Link copied to clipboard
jvm
@
BeforeEach
fun
setUp
(
testInfo
:
TestInfo
)
throw
Errors
Link copied to clipboard
jvm
@
AfterEach
fun
throwErrors
(
)