Update asyncapi-circe-yaml, ... to 0.11.0 #3934
390 passed, 0 failed and 0 skipped
β Β core/target/native-3/test-reports/TEST-sttp.tapir.annotations.DeriveEndpointIOTest.xml
30 tests were completed in 1ms with 30 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.annotations.DeriveEndpointIOTest | 30β | 1ms |
β Β sttp.tapir.annotations.DeriveEndpointIOTest
β
@endpointInput should derive correct input for @query, @cookie, @header
β
@endpointInput should derive correct input for dealiased bodies
β
@endpointInput should derive correct input for @queries, @headers, @cookies
β
@endpointInput should derive correct input for auth annotations
β
@endpointInput should derive correct input for auth annotations with named security schemes
β
@endpointInput should derive input with descriptions
β
@endpointInput should derive input with paths
β
@endpointInput should derive correct input with schema annotations
β
@endpointInput should derive default annotation correctly
β
@endpointInput should customise inputs
β
@endpointInput should derive correct input for byte array body
β
@endpointInput should derive correct input for byte buffer body
β
@endpointInput should derive correct input for input stream body
β
@endpointInput should derive correct input for form body
β
@endpointInput should derive correct input for file body
β
@endpointInput should derive correct input for multipart body
β
@endpointInput should accept empty case classes when annotated with @endpointInput
β
@endpointInput should not compile if there is field without annotation
β
@endpointInput should not compile if there are two body annotations
β
@endpointInput should not compile for alone @apikey
β
@endpointInput should not compile for body without JSON codec
β
@endpointInput should not compile when not all paths are captured in case class
β
@endpointInput should not compile when not all paths are captured in path
β
@endpointInput should not compile when path contains duplicated variable
β
@endpointOutput should devive correct output for @header, @setCookie, @statusCode
β
@endpointOutput should derive correct output for @headers, @cookies, @setCookies
β
@endpointOutput should not compile if there is field without annotation
β
@endpointOutput should not compile if there are two body annotations
β
@endpointOutput should not compile for wrong field type
β
@endpointOutput should not report ambiguous header import errors
β Β core/target/native-3/test-reports/TEST-sttp.tapir.AttributeTest.xml
3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.AttributeTest | 3β | 0ms |
β Β sttp.tapir.AttributeTest
β
should create an attribute key for a case class
β
should create an attribute key for a list of case classes
β
should create an attribute key for a list of generic case classes
β Β core/target/native-3/test-reports/TEST-sttp.tapir.CodecDelimitedTest.xml
2 tests were completed in 10ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.CodecDelimitedTest | 2β | 10ms |
β Β sttp.tapir.CodecDelimitedTest
β
should encode and decode comma-separated values
β
should encode and decode comma-separated values in a list
β Β core/target/native-3/test-reports/TEST-sttp.tapir.CodecScala3Test.xml
1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.CodecScala3Test | 1β | 0ms |
β Β sttp.tapir.CodecScala3Test
β
should derive a codec for a string-based union type
β Β core/target/native-3/test-reports/TEST-sttp.tapir.CodecTest.xml
6 tests were completed in 121ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.CodecTest | 6β | 121ms |
β Β sttp.tapir.CodecTest
β
should encode simple types using .toString
β
should use default, when available
β
should correctly encode and decode Date
β
should create a part codec
β
should call the validator during decoding when using .mapValidate
β
should provide a mapEither function
β Β core/target/native-3/test-reports/TEST-sttp.tapir.EndpointScala3Test.xml
3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.EndpointScala3Test | 3β | 0ms |
β Β sttp.tapir.EndpointScala3Test
β
oneOfVariant should compile when using parametrised enums
β
oneOfVariant should compile when using parameterless sealed traits
β
oneOfVariant should not compile when using parameterless enums
β Β core/target/native-3/test-reports/TEST-sttp.tapir.EndpointTest.xml
76 tests were completed in 6ms with 76 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.EndpointTest | 76β | 6ms |
β Β sttp.tapir.EndpointTest
β
endpoint should compile inputs
β
endpoint should compile security inputs
β
endpoint should compile map security into case class
β
endpoint should compile a path fold
β
endpoint should compile inputs with streams
β
endpoint should compile outputs
β
endpoint should compile outputs with streams
β
endpoint should compile error outputs
β
endpoint should compile one-of empty output
β
endpoint should allow to map status code multiple times to same format different charset
β
endpoint should compile one-of empty output of a custom type
β
endpoint should compile with a single error variant
β
endpoint should compile with multiple error variants
β
oneOfVariant should not compile when the type erasure of `T` is different from `T`
β
tupling should combine two inputs
β
tupling should combine four inputs in two groups
β
tupling should combine four inputs in two groups, through an extend method (right)
β
tupling should combine four inputs in two groups, through an extend method (left)
β
show for Endpoint(securityin: -, in: /p1%2Fp2, errout: -, out: -) should be /p1%2Fp2 -> -/-
β
show for Endpoint[E1](securityin: -, in: /p1, errout: -, out: -) should be [E1] /p1 -> -/-
β
show for Endpoint(securityin: -, in: GET /p1 /p2, errout: -, out: -) should be GET /p1 /p2 -> -/-
β
show for Endpoint(securityin: -, in: /p1 /[p2] /*, errout: -, out: -) should be /p1 /[p2] /* -> -/-
β
show for Endpoint(securityin: -, in: POST ?q1 ?q2 {body as text/plain (UTF-8)}, errout: {body as text/plain (UTF-8)}, out: -) should be POST ?q1 ?q2 {body as text/plain (UTF-8)} -> {body as text/plain (UTF-8)}/-
β
show for Endpoint(securityin: -, in: GET {header X-header}, errout: -, out: {header Y-header}) should be GET {header X-header} -> -/{header Y-header}
β
show for Endpoint(securityin: -, in: GET, errout: -, out: one of({body as text/plain (UTF-8)}|{body as application/octet-stream})) should be GET -> -/one of({body as text/plain (UTF-8)}|{body as application/octet-stream})
β
show for Endpoint(securityin: -, in: GET, errout: -, out: {body as text/plain (UTF-8)}) should be GET -> -/{body as text/plain (UTF-8)}
β
show for Endpoint(securityin: -, in: GET, errout: -, out: {body as application/octet-stream}) should be GET -> -/{body as application/octet-stream}
β
short show for Endpoint(securityin: -, in: -, errout: -, out: -) should be * *
β
short show for Endpoint(securityin: -, in: /p1, errout: -, out: -) should be * /p1
β
short show for Endpoint(securityin: -, in: /p1 /p2, errout: -, out: -) should be * /p1/p2
β
short show for Endpoint(securityin: -, in: GET /p1 /p2, errout: -, out: -) should be GET /p1/p2
β
short show for Endpoint(securityin: -, in: POST, errout: -, out: -) should be POST *
β
short show for Endpoint(securityin: -, in: GET /p1 /*, errout: -, out: -) should be GET /p1/*
β
short show for Endpoint[my endpoint](securityin: -, in: GET /p1 /p2, errout: -, out: -) should be [my endpoint]
β
showPathTemplate for Endpoint(securityin: -, in: -, errout: -, out: -) should be *
β
showPathTemplate for Endpoint(securityin: -, in: /, errout: -, out: -) should be /
β
showPathTemplate for Endpoint(securityin: -, in: /p1, errout: -, out: -) should be /p1
β
showPathTemplate for Endpoint(securityin: -, in: /p1 /p2, errout: -, out: -) should be /p1/p2
β
showPathTemplate for Endpoint(securityin: /p1, in: /p2, errout: -, out: -) should be /p1/p2
β
showPathTemplate for Endpoint(securityin: -, in: /p1 /[], errout: -, out: -) should be /p1/{param1}
β
showPathTemplate for Endpoint(securityin: -, in: /p1 /[par], errout: -, out: -) should be /p1/{par}
β
showPathTemplate for Endpoint(securityin: -, in: /p1 ?par, errout: -, out: -) should be /p1?par={par}
β
showPathTemplate for Endpoint(securityin: -, in: /p1 ?par1 ?par2, errout: -, out: -) should be /p1?par1={par1}&par2={par2}
β
showPathTemplate for Endpoint(securityin: -, in: /p1 /[par1] ?par2, errout: -, out: -) should be /p1/{par1}?par2={par2}
β
showPathTemplate for Endpoint(securityin: -, in: /p1 auth(api key, via ?par2), errout: -, out: -) should be /p1?par2={par2}
β
showPathTemplate for Endpoint(securityin: -, in: /p2 /[], errout: -, out: -) should be /p2/{param1}
β
showPathTemplate for Endpoint(securityin: -, in: /p1%2Fp2, errout: -, out: -) should be /p1%2Fp2
β
showPathTemplate for Endpoint(securityin: -, in: /8*5%29PpDEeXsx4n.9NjyT%3DYtJuUf%26F%21AamMIi-%40%2C%3BvG61VqQL%27bgBl0_2CH%2BcWh%287rKRw%3A%243k%7EOzSdZo, errout: -, out: -) should be /8*5)PpDEeXsx4n.9NjyT=YtJuUf&F!AamMIi-@,;vG61VqQL'bgBl0_2CH+cWh(7rKRw:$3k~OzSdZo
β
showPathTemplate for Endpoint(securityin: -, in: /p1 /*, errout: -, out: -) should be /p1/*
β
showPathTemplate for Endpoint(securityin: -, in: /p1 ?*, errout: -, out: -) should be /p1?*
β
showPathTemplate for Endpoint(securityin: -, in: /p1 /p2 ?par1 ?par2, errout: -, out: -) should be /p1?par1={par1}
β
showPathTemplate for Endpoint(securityin: -, in: /not /allowed /chars /hi%3Fhello, errout: -, out: -) should be /not/allowed/chars/hi%3Fhello
β
showPathTemplate should keep param count in show functions
β
showPathTemplate should skip query parameters
β
validate should accumulate validators
β
validate should add validator for an option
β
validate should add validator for an iterable
β
validate should map input and output
β
httpMethod for Endpoint(securityin: -, in: -, errout: -, out: -) should be None
β
httpMethod for Endpoint(securityin: -, in: /api /cats /[] GET, errout: -, out: -) should be Some(GET)
β
httpMethod for Endpoint(securityin: -, in: /api /cats /[] PUT, errout: -, out: -) should be Some(PUT)
β
httpMethod for Endpoint(securityin: -, in: /api /cats /[] POST, errout: -, out: -) should be Some(POST)
β
httpMethod for Endpoint(securityin: -, in: /api /cats /[] HEAD, errout: -, out: -) should be Some(HEAD)
β
httpMethod for Endpoint(securityin: -, in: /api /cats /[] TRACE, errout: -, out: -) should be Some(TRACE)
β
httpMethod for Endpoint(securityin: -, in: /api /cats /[] PATCH, errout: -, out: -) should be Some(PATCH)
β
httpMethod for Endpoint(securityin: -, in: /api /cats /[] CONNECT, errout: -, out: -) should be Some(CONNECT)
β
httpMethod for Endpoint(securityin: -, in: /api /cats /[] DELETE, errout: -, out: -) should be Some(DELETE)
β
httpMethod for Endpoint(securityin: -, in: /api /cats /[] OPTIONS, errout: -, out: -) should be Some(OPTIONS)
β
httpMethod for Endpoint(securityin: -, in: /api /cats /[] XX, errout: -, out: -) should be Some(XX)
β
compile should work for endpoint descriptions providing partial server logic using serverLogicForCurrent
β
mapTo should properly map between tuples and case classes of arity 1
β
mapTo should properly map between tuples and case classes of arity 2
β
mapTo should fail on invalid field type
β
mapTo should fail on redundant field
β
mapTo should fail on missing field
β
mapTo should compile for case class with defined companion object
β Β core/target/native-3/test-reports/TEST-sttp.tapir.generic.EnumsCodecDerivationTest.xml
4 tests were completed in 0ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.generic.EnumsCodecDerivationTest | 4β | 0ms |
β Β sttp.tapir.generic.EnumsCodecDerivationTest
β
should derive codec for an sealed-trait based enum
β
should derive codec for an Scala enumeration
β
should derive a customised codec for an Scala enumeration
β
should derive a default codec for an Scala enumeration
β Β core/target/native-3/test-reports/TEST-sttp.tapir.generic.FormCodecDerivationTest.xml
14 tests were completed in 5ms with 14 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.generic.FormCodecDerivationTest | 14β | 5ms |
β Β sttp.tapir.generic.FormCodecDerivationTest
β
should generate a codec for a one-arg case class
β
should generate a codec for a two-arg case class
β
should generate a codec for a three-arg case class
β
should generate a codec for a case class with optional parameters
β
should use the right schema for a two-arg case class
β
should generate a codec for a one-arg case class using snake-case naming transformation
β
should generate a codec for a one-arg case class using screaming-snake-case naming transformation
β
should generate a codec for a one-arg case class using kebab-case naming transformation
β
should generate a codec for a one-arg case class with list
β
should generate a codec for a one-arg case class with set
β
should generate a codec for a one-arg case class with vector
β
should generate a codec for a one-arg case class using implicit schema
β
should generate a codec for a case class with simple types
β
should generate a codec with custom field name
β Β core/target/native-3/test-reports/TEST-sttp.tapir.generic.MultipartCodecDerivationTest.xml
13 tests were completed in 3ms with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.generic.MultipartCodecDerivationTest | 13β | 3ms |
β Β sttp.tapir.generic.MultipartCodecDerivationTest
β
should generate a codec for a one-arg case class
β
should generate a codec for a two-arg case class
β
should generate a codec for a case class with optional parameters
β
should use the right schema for a case class with part metadata
β
should generate a codec for a one-arg case class using snake-case naming transformation
β
should generate a codec for a one-arg case class using screaming-snake-case naming transformation
β
should generate a codec for a one-arg case class with list
β
should generate a codec for a case class with part metadata
β
should generate a codec for a one-arg case class with implicit validator
β
should generate a codec with a custom field name
β
should generate a codec for a case class with file part
β
should use the right schema for an optional file part with metadata 2
β
should use the right schema for a two-arg case class
β Β core/target/native-3/test-reports/TEST-sttp.tapir.generic.SchemaGenericAutoTest.xml
29 tests were completed in 1ms with 29 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.generic.SchemaGenericAutoTest | 29β | 1ms |
β Β sttp.tapir.generic.SchemaGenericAutoTest
β
Schema auto derivation should find schema for simple types
β
Schema auto derivation should find schema for optional types
β
Schema auto derivation should find schema for collections
β
Schema auto derivation should find schema for collections of case classes
β
Schema auto derivation should find schema for a simple case class
β
Schema auto derivation should find schema for a simple case class and use identity naming transformation
β
Schema auto derivation should find schema for a nested case class
β
Schema auto derivation should find schema for case classes with collections
β
Schema auto derivation should use custom schema for custom types
β
Schema auto derivation should derive schema for parametrised type classes
β
Schema auto derivation should find schema for map
β
Schema auto derivation should find schema for map of products
β
Schema auto derivation should find schema for map of generic products
β
Schema auto derivation should add meta-data to schema from annotations
β
Schema auto derivation should find the right schema for a case class with simple types
β
Schema auto derivation should find schema for a simple case class and use snake case naming transformation
β
Schema auto derivation should find schema for a simple case class and use screaming snake case naming transformation
β
Schema auto derivation should find schema for a simple case class and use kebab case naming transformation
β
Schema auto derivation should not transform names which are annotated with a custom name
β
Schema auto derivation should customise the schema using the given function
β
Schema auto derivation should generate one-of schema using the given discriminator
β
Schema auto derivation should generate one-of schema using the given discriminator (kebab case subtype names)
β
Schema auto derivation should generate one-of schema using the given discriminator (snake case subtype names)
β
Schema auto derivation should generate one-of schema using the given discriminator (screaming snake case subtype names)
β
Schema auto derivation should generate one-of schema using the given discriminator (full subtype names)
β
Schema auto derivation should generate one-of schema using the given discriminator (full kebab case subtype names)
β
Schema auto derivation should generate one-of schema using the given discriminator (full snake case subtype names)
β
Schema auto derivation should find schema for subtypes containing parent metadata from annotations
β
Schema auto derivation should add validators for collection and option elements
β Β core/target/native-3/test-reports/TEST-sttp.tapir.generic.ValueClassCodecDerivationTest.xml
1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.generic.ValueClassCodecDerivationTest | 1β | 0ms |
β Β sttp.tapir.generic.ValueClassCodecDerivationTest
β
should derive codec for value classes
β Β core/target/native-3/test-reports/TEST-sttp.tapir.internal.RichEndpointInputTest.xml
5 tests were completed in 0ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.internal.RichEndpointInputTest | 5β | 0ms |
β Β sttp.tapir.internal.RichEndpointInputTest
β
pathTo should find path to self
β
pathTo should not find path to non existing input
β
pathTo should find path to input down the hierarchy
β
pathTo should find path to input from the middle of hierarchy
β
pathTo should find path to the middle of hierarchy
β Β core/target/native-3/test-reports/TEST-sttp.tapir.internal.RichEndpointOutputTest.xml
1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.internal.RichEndpointOutputTest | 1β | 1ms |
β Β sttp.tapir.internal.RichEndpointOutputTest
β
output media type should match content type with lower and upper case charset
β Β core/target/native-3/test-reports/TEST-sttp.tapir.internal.UrlencodedDataTest.xml
4 tests were completed in 0ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.internal.UrlencodedDataTest | 4β | 0ms |
β Β sttp.tapir.internal.UrlencodedDataTest
β
should handle empty string
β
should handle single parameter
β
should handle two parameters
β
should handle complex data
β Β core/target/native-3/test-reports/TEST-sttp.tapir.namespacing.SchemaMacroNamespaceTest.xml
2 tests were completed in 1ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.namespacing.SchemaMacroNamespaceTest | 2β | 1ms |
β Β sttp.tapir.namespacing.SchemaMacroNamespaceTest
β
should compile macro-generated code using derivedEnumeration in a package other than sttp.tapir
β
should compile macro-generated code for shadowed _root_.scala names
β Β core/target/native-3/test-reports/TEST-sttp.tapir.SchemaAnnotationsTest.xml
1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.SchemaAnnotationsTest | 1β | 0ms |
β Β sttp.tapir.SchemaAnnotationsTest
β
SchemaAnnotations enrich should derive schema annotations and enrich schema
β Β core/target/native-3/test-reports/TEST-sttp.tapir.SchemaApplyValidationTest.xml
13 tests were completed in 464ms with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.SchemaApplyValidationTest | 13β | 464ms |
β Β sttp.tapir.SchemaApplyValidationTest
β
should validate openProduct
β
should validate option
β
should validate iterable
β
should validate array
β
should skip collection validation for array if element validator is passing
β
should skip collection validation for iterable if element validator is passing
β
should validate product
β
should use validators defined when modifying the schema
β
should validate recursive values
β
should show recursive validators
β
should validate either
β
should validate mapped either
β
should validate oneOf object
β Β core/target/native-3/test-reports/TEST-sttp.tapir.SchemaMacroScala3Test.xml
9 tests were completed in 0ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.SchemaMacroScala3Test | 9β | 0ms |
β Β sttp.tapir.SchemaMacroScala3Test
β
should derive a one-of-wrapped schema for enums
β
should derive schema for union types
β
should derive schema for a named union type
β
should derive schema for a union type with generics (same type constructor, different arguments)
β
should derive schema for a union type with generics (different type constructors)
β
should derive schema for union types with 3 components
β
should derive schema for a string-based union type
β
should derive schema for a const as a string-based union type
β
should derive a schema for a union of unions when all are string-based constants
β Β core/target/native-3/test-reports/TEST-sttp.tapir.SchemaMacroTest.xml
26 tests were completed in 2ms with 26 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.SchemaMacroTest | 26β | 2ms |
β Β sttp.tapir.SchemaMacroTest
β
apply modification should modify basic schema
β
apply modification should modify product schema
β
apply modification should modify product schema with derivation
β
apply modification should modify nested product schema
β
apply modification should modify array elements in products
β
apply modification should modify array in products
β
apply modification should support chained modifications
β
apply modification should modify optional parameter
β
apply modification should modify property of optional parameter
β
apply modification should modify property of open product
β
apply modification should modify open product
β
apply modification should create a map schema with string keys
β
apply modification should create a map schema with non-string keys
β
apply modification should work with custom naming configuration
β
apply modification should Not propagate type encodedName to subtypes of a sealed trait, but keep inheritance for fields
β
apply modification should add discriminator based on a trait method
β
apply modification should extract type params for discriminator based on a trait method
β
apply modification should add the discriminator as a field when using oneOfUsingField
β
apply modification should create a one-of wrapped schema
β
apply modification should create a schema using oneOfField given an enum extractor
β
apply modification should create and enrich a schema for an enum
β
apply modification should derive schema for a scala enumeration and enrich schema
β
apply modification should derive a customised schema for a scala enumeration and enrich schema
β
apply default should add default to product
β
apply example should add example to product
β
apply description should add description to product
β Β core/target/native-3/test-reports/TEST-sttp.tapir.SchemaTest.xml
13 tests were completed in 2ms with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.SchemaTest | 13β | 2ms |
β Β sttp.tapir.SchemaTest
β
should modify basic schema
β
should modify product schema
β
should modify nested product schema
β
should modify array elements in products
β
should modify array in products
β
should modify property of optional parameter
β
should modify property of map value
β
should modify open product schema
β
should generate one-of schema using the given discriminator
β
should addDiscriminatorField should only add discriminator field to child schemas if not yet present
β
should propagate format for optional schemas
β
should generate correct names for Eithers with parameterized types
β
should generate correct names for Maps with parameterized types
β Β core/target/native-3/test-reports/TEST-sttp.tapir.typelevel.MatchTypeTest.xml
8 tests were completed in 1s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.typelevel.MatchTypeTest | 8β | 1s |
β Β sttp.tapir.typelevel.MatchTypeTest
β
MatchType should provide implicit for basic type
β
MatchType should provide implicit for all primitive class returning true for other primitive type
β
MatchType should provide implicit for all primitive class returning false for any other primitive type
β
MatchType should provide implicit for case class
β
MatchType should provide implicit for sealed stuff
β
MatchType should provide implicit for complex nested type
β
MatchType should provide implicit for recursive structure
β
MatchType should work for list
β Β core/target/native-3/test-reports/TEST-sttp.tapir.ValidatorScala3EnumTest.xml
3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.ValidatorScala3EnumTest | 3β | 0ms |
β Β sttp.tapir.ValidatorScala3EnumTest
β
should validate enum
β
should not compile for enum with parameter
β
should derive a validator for a string-based union type
β Β core/target/native-3/test-reports/TEST-sttp.tapir.ValidatorTest.xml
28 tests were completed in 1ms with 28 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.ValidatorTest | 28β | 1ms |
β Β sttp.tapir.ValidatorTest
β
should validate for min value
β
should validate for min value (exclusive)
β
should validate for max value
β
should validate for max value (exclusive)
β
should validate for positive value
β
should validate for positiveOrZero value
β
should validate for negative value
β
should validate for in range value
β
should validate for maxSize of collection
β
should validate for minSize of collection
β
should validate for nonEmpty of collection
β
should validate for fixedSize of collection
β
should validate for matching regex pattern
β
should validate for minLength of string
β
should validate for minLength of string and include unicode characters
β
should validate for maxLength of string
β
should validate for maxLength of string and include unicode characters
β
should validate for fixedLength of string
β
should validate for fixedLength of string and include unicode characters
β
should validate for nonEmptyString of string
β
should validate with reject
β
should validate with any of validators
β
should validate with all of validators
β
should validate with custom validator
β
should validate coproduct enum
β
should derive for branched sealed traits where all leafs are objects
β
should not compile for malformed coproduct enum
β
should validate closed set of ints
β Β integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.EndpointIOInstancesSpec.xml
3 tests were completed in 1ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.integ.cats.EndpointIOInstancesSpec | 3β | 1ms |
β Β sttp.tapir.integ.cats.EndpointIOInstancesSpec
β
InvariantSemigroupal syntax should work with EndpointInput
β
InvariantSemigroupal syntax should work with EndpointOutput
β
InvariantSemigroupal syntax should work with EndpointIO
β Β integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.ExampleFunctorLawSpec.xml
5 tests were completed in 8ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.integ.cats.ExampleFunctorLawSpec | 5β | 8ms |
β Β sttp.tapir.integ.cats.ExampleFunctorLawSpec
β
Example.FunctorLaws.functor.covariant composition
β
Example.FunctorLaws.functor.covariant identity
β
Example.FunctorLaws.functor.invariant composition
β
Example.FunctorLaws.functor.invariant identity
β
Example.FunctorLaws.functor.mapOrKeepToMapEquivalence
β Β integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.ModifyFunctorInstancesTest.xml
4 tests were completed in 0ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.integ.cats.ModifyFunctorInstancesTest | 4β | 0ms |
β Β sttp.tapir.integ.cats.ModifyFunctorInstancesTest
β
should modify elements in NonEmptyList
β
should modify elements in NonEmptySet
β
should modify elements in Chain
β
should modify elements in NonEmptyChain
β Β integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.TapirCodecCatsTest.xml
22 tests were completed in 123ms with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.integ.cats.TapirCodecCatsTest | 22β | 123ms |
β Β sttp.tapir.integ.cats.TapirCodecCatsTest
β
should find schema for cats collections
β
should find proper validator for cats collections
β
Provided PlainText coder for non empty list should correctly serialize a non empty list
β
Provided PlainText coder for non empty list should correctly deserialize everything it serialize
β
Provided PlainText coder for non empty list should fail on empty list
β
Provided PlainText coder for non empty list should have the proper schema for list
β
Provided PlainText coder for non empty list should have the proper validator for list
β
Provided PlainText coder for non empty vector should correctly serialize a non empty vector
β
Provided PlainText coder for non empty vector should correctly deserialize everything it serialize for vector
β
Provided PlainText coder for non empty vector should fail on empty vector
β
Provided PlainText coder for non empty vector should have the proper schema for vector
β
Provided PlainText coder for non empty vector should have the proper validator for vector
β
Provided PlainText codec for non empty chain should correctly serialize a non empty chain
β
Provided PlainText codec for non empty chain should correctly deserialize everything it serialize for chain
β
Provided PlainText codec for non empty chain should fail on empty chain
β
Provided PlainText codec for non empty chain should have the proper schema for chain
β
Provided PlainText codec for non empty chain should have the proper validator for chain
β
Provided PlainText codec for non empty set should correctly serialize a non empty set
β
Provided PlainText codec for non empty set should correctly deserialize everything it serialize for set
β
Provided PlainText codec for non empty set should fail on empty set
β
Provided PlainText codec for non empty set should have the proper schema for set
β
Provided PlainText codec for non empty set should have the proper validator for set
β Β integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.ValidatorCatsTest.xml
3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.integ.cats.ValidatorCatsTest | 3β | 0ms |
β Β sttp.tapir.integ.cats.ValidatorCatsTest
β
should success with non-empty list - NonEmptyList
β
should success with non-empty list - List
β
should fail with empty list - List
β Β json/jsoniter/target/native-3/test-reports/TEST-sttp.tapir.json.jsoniter.TapirJsonJsoniterTests.xml
1 tests were completed in 20ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.json.jsoniter.TapirJsonJsoniterTests | 1β | 20ms |
β Β sttp.tapir.json.jsoniter.TapirJsonJsoniterTests
β
should return a JSON specific decode error on failure
β Β json/upickle/target/native-3/test-reports/TEST-sttp.tapir.json.upickle.TapirJsonuPickleTests.xml
5 tests were completed in 26ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.json.upickle.TapirJsonuPickleTests | 5β | 26ms |
β Β sttp.tapir.json.upickle.TapirJsonuPickleTests
β
should encode and decode Scala case class with non-empty Option elements
β
should encode and decode Scala case class with empty Option elements
β
should encode and decode String type
β
should encode and decode Long type
β
should return a JSON specific decode error on failure
β Β server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSConfigTest.xml
2 tests were completed in 0ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.server.interceptor.cors.CORSConfigTest | 2β | 0ms |
β Β sttp.tapir.server.interceptor.cors.CORSConfigTest
β
CORS config should provide a valid default config
β
CORS config should detect an invalid config
β Β server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSInterceptorTest.xml
2 tests were completed in 5ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.server.interceptor.cors.CORSInterceptorTest | 2β | 5ms |
β Β sttp.tapir.server.interceptor.cors.CORSInterceptorTest
β
A custom CORS interceptor should be created with a valid config
β
A custom CORS interceptor should not be created with an invalid config
β Β server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interceptor.decodefailure.DefaultDecodeFailureHandlerTest.xml
5 tests were completed in 2ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.server.interceptor.decodefailure.DefaultDecodeFailureHandlerTest | 5β | 2ms |
β Β sttp.tapir.server.interceptor.decodefailure.DefaultDecodeFailureHandlerTest
β
should create a validation error message for a nested field
β
should create a validation error message including encoded enumeration values
β
should create an error message including failed json paths
β
should create an error message including failed multipart parts
β
should enclose string values in error messages in quotes
β Β server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interpreter.DecodeBasicInputsTest.xml
1 tests were completed in 45ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.server.interpreter.DecodeBasicInputsTest | 1β | 45ms |
β Β sttp.tapir.server.interpreter.DecodeBasicInputsTest
β
should return an error if decoding throws an exception
β Β server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interpreter.FilterServerEndpointsTest.xml
9 tests were completed in 1ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.server.interpreter.FilterServerEndpointsTest | 9β | 1ms |
β Β sttp.tapir.server.interpreter.FilterServerEndpointsTest
β
should filter endpoints with a single fixed path component
β
should filter endpoints with an empty fixed path component
β
should not filter endpoints without any path component
β
should filter endpoints with multiple fixed path components
β
should filter endpoints with a single fixed and a single path capture component
β
should filter endpoints with multiple fixed and single capture components
β
should filter endpoints with multiple fixed and capture components
β
should filter endpoints with fixed and paths components
β
should filter endpoints with fixed, capture and paths components
β Β server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interpreter.ServerInterpreterTest.xml
3 tests were completed in 1ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.server.interpreter.ServerInterpreterTest | 3β | 1ms |
β Β sttp.tapir.server.interpreter.ServerInterpreterTest
β
should call the interceptors in the correct order
β
should decode security inputs, basic regular inputs, and not decode the body, when security logic fails
β
should use a customized reject interceptor
β Β testing/target/native-3/test-reports/TEST-sttp.tapir.testing.EndpointVerifierTest.xml
30 tests were completed in 7ms with 30 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.testing.EndpointVerifierTest | 30β | 7ms |
β Β sttp.tapir.testing.EndpointVerifierTest
β
should should not detect shadowed endpoint when first endpoint has empty path and second fixed path
β
should not detect shadowed endpoint when second endpoint doesn't have specified method
β
should detect shadowed endpoint when first endpoint doesn't have specified method
β
should should detect shadowed endpoint when first endpoint has only wildcard path and second empty path
β
should detect shadowed endpoint when http methods are provided in different order
β
should detect shadowed endpoint when security inputs and inputs overlap
β
should should not detect shadowed endpoint when methods are not provided and paths are different
β
should should detect shadowed endpoint when methods are not provided
β
should omit all segments which are not relevant for shadow check
β
should should detect shadowed endpoints with path variables that contain special characters
β
should not detect shadowed endpoint when it is only partially shadowed
β
should detect endpoint with path variable shadowed by endpoint with wildcard
β
should detect shadowed endpoints for endpoints with similar path structure but with different path vars names
β
should detect shadowed endpoints for endpoints with path variables and wildcards at the beginning
β
should detect shadowed endpoints for endpoints with path variables in the middle
β
should detect shadowed endpoints for fixed paths
β
should return empty result when no shadowed endpoints exist
β
should return empty result for empty input
β
should not detect incorrect path input when input is fixed
β
should not detect incorrect path input when wildcard `paths` segment appears as the last at input
β
should not detect incorrect path input when wildcard `paths` segment appears as the last at security input
β
should detect incorrect path input when wildcard `paths` segment appears before the last at input
β
should detect incorrect path input when wildcard `paths` segment appears before the last security input
β
should detect incorrect path input when wildcard `paths` segment and any path is defined in standard input
β
should not detect any incorrect path input when wildcard `paths` segment is defined as last segment of path
β
should detect incorrect path input when wildacard `paths` segment overlaps other path segments and return proper index in path
β
should detect shadowed endpoints and incorrect path simultaneously
β
should detect duplicated methods under endpoint
β
should not detect duplicated methods when there is at most one method defined
β
should detect endpoints with body where status code doesn't allow a body