toggle menu
ktor
3.0.0-rc-1
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
jvm
switch theme
search in API
ktor-junit
/
io.ktor.junit
Package-level
declarations
Types
Functions
Types
Error
Collector
Link copied to clipboard
class
ErrorCollector
:
TestExecutionExceptionHandler
,
ParameterResolver
,
AfterEachCallback
Error
Collector
Test
Link copied to clipboard
@
ExtendWith
(
value
=
[
ErrorCollector::class
]
)
annotation class
ErrorCollectorTest
Multiple
Failure
Exception
Link copied to clipboard
class
MultipleFailureException
(
children
:
List
<
Throwable
>
)
:
RuntimeException
Retryable
Test
Link copied to clipboard
@
Target
(
allowedTargets
=
[
AnnotationTarget.FUNCTION
,
AnnotationTarget.ANNOTATION_CLASS
]
)
@
TestTemplate
annotation class
RetryableTest
(
val
retries
:
Int
=
1
,
val
delay
:
Long
)
Retry
Support
Link copied to clipboard
class
RetrySupport
:
TestTemplateInvocationContextProvider
Functions
assert
All
Link copied to clipboard
fun
<
T
>
assertAll
(
collection
:
Iterable
<
T
>
,
assertion
:
(
T
)
->
Unit
)
fun
<
T
>
assertAll
(
collection
:
Iterable
<
T
>
,
message
:
String
?
=
null
,
predicate
:
(
T
)
->
Boolean
)
Convenience function for asserting on all elements of a collection.