Update tethys-core, tethys-derivation, ... to 0.29.1 #4061
339 passed, 0 failed and 0 skipped
β Β core/target/native-2.13/test-reports/TEST-sttp.tapir.annotations.DeriveEndpointIOTest.xml
30 tests were completed in 2ms with 30 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.annotations.DeriveEndpointIOTest | 30β | 2ms |
β Β 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-2.13/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-2.13/test-reports/TEST-sttp.tapir.CodecDelimitedTest.xml
2 tests were completed in 6ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.CodecDelimitedTest | 2β | 6ms |
β Β sttp.tapir.CodecDelimitedTest
β
should encode and decode comma-separated values
β
should encode and decode comma-separated values in a list
β Β core/target/native-2.13/test-reports/TEST-sttp.tapir.CodecTest.xml
6 tests were completed in 70ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.CodecTest | 6β | 70ms |
β Β 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-2.13/test-reports/TEST-sttp.tapir.EndpointTest.xml
76 tests were completed in 4ms with 76 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.EndpointTest | 76β | 4ms |
β Β 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-2.13/test-reports/TEST-sttp.tapir.generic.EnumsCodecDerivationTest.xml
4 tests were completed in 2ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.generic.EnumsCodecDerivationTest | 4β | 2ms |
β Β 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-2.13/test-reports/TEST-sttp.tapir.generic.FormCodecDerivationTest.xml
14 tests were completed in 4ms with 14 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.generic.FormCodecDerivationTest | 14β | 4ms |
β Β 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-2.13/test-reports/TEST-sttp.tapir.generic.LegacySchemaGenericAutoTest.xml
8 tests were completed in 5ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.generic.LegacySchemaGenericAutoTest | 8β | 5ms |
β Β sttp.tapir.generic.LegacySchemaGenericAutoTest
β
should find schema for value classes
β
should find schema for collections of value classes
β
should find schema for map of value classes
β
should find schema for recursive data structure
β
should find schema for recursive data structure when invoked from many threads
β
should find schema for recursive coproduct type
β
should support derivation of recursive schemas wrapped with an option
β
should support derivation of recursive schemas wrapped with a collection
β Β core/target/native-2.13/test-reports/TEST-sttp.tapir.generic.MultipartCodecDerivationTest.xml
13 tests were completed in 14ms with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.generic.MultipartCodecDerivationTest | 13β | 14ms |
β Β 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-2.13/test-reports/TEST-sttp.tapir.generic.SchemaGenericAutoTest.xml
29 tests were completed in 3ms with 29 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.generic.SchemaGenericAutoTest | 29β | 3ms |
β Β 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-2.13/test-reports/TEST-sttp.tapir.generic.ValueClassCodecDerivationTest.xml
1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.generic.ValueClassCodecDerivationTest | 1β | 1ms |
β Β sttp.tapir.generic.ValueClassCodecDerivationTest
β
should derive codec for value classes
β Β core/target/native-2.13/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-2.13/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-2.13/test-reports/TEST-sttp.tapir.internal.UrlencodedDataTest.xml
4 tests were completed in 1ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.internal.UrlencodedDataTest | 4β | 1ms |
β Β sttp.tapir.internal.UrlencodedDataTest
β
should handle empty string
β
should handle single parameter
β
should handle two parameters
β
should handle complex data
β Β core/target/native-2.13/test-reports/TEST-sttp.tapir.LegacySchemaApplyValidationTest.xml
1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.LegacySchemaApplyValidationTest | 1β | 0ms |
β Β sttp.tapir.LegacySchemaApplyValidationTest
β
should validate recursive values with two-level hierarchy
β Β core/target/native-2.13/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-2.13/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-2.13/test-reports/TEST-sttp.tapir.SchemaApplyValidationTest.xml
13 tests were completed in 384ms with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.SchemaApplyValidationTest | 13β | 384ms |
β Β 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-2.13/test-reports/TEST-sttp.tapir.SchemaMacroTest.xml
26 tests were completed in 3ms with 26 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.SchemaMacroTest | 26β | 3ms |
β Β 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-2.13/test-reports/TEST-sttp.tapir.SchemaMacroTest2.xml
5 tests were completed in 30ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.SchemaMacroTest2 | 5β | 30ms |
β Β sttp.tapir.SchemaMacroTest2
β
should derive schema for a simple value classes
β
should derive schema for numeric value class with format
β
should derive schema for a class containing a value class
β
should derive schema for a class containing a value class with a list of value classes
β
should fail to derive schema for nested generic value class with meaningful msg
β Β core/target/native-2.13/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-2.13/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-2.13/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/zio-prelude/target/native-2.13/test-reports/TEST-sttp.tapir.codec.zio.prelude.newtype.TapirNewtypeSupportTest.xml
8 tests were completed in 0ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.codec.zio.prelude.newtype.TapirNewtypeSupportTest | 8β | 0ms |
β Β sttp.tapir.codec.zio.prelude.newtype.TapirNewtypeSupportTest
β
should find schema for Newtype which is equal to the schema of its underlying value
β
should find schema for Subtype which is equal to the schema of its underlying value
β
Provided PlainText codec for a Newtype should equal to the codec of its underlying value
β
Provided PlainText codec for a Newtype should correctly deserialize everything it serializes
β
Provided PlainText codec for a Newtype should not deserialize values that do not pass validation
β
Provided PlainText codec for a Subtype should equal to the codec of its underlying value
β
Provided PlainText codec for a Subtype should correctly deserialize everything it serializes
β
Provided PlainText codec for a Subtype should not deserialize values that do not pass validation
β Β integrations/zio-prelude/target/native-2.13/test-reports/TEST-sttp.tapir.codec.zio.prelude.newtype.TapirNewtypeTest.xml
8 tests were completed in 1ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.codec.zio.prelude.newtype.TapirNewtypeTest | 8β | 1ms |
β Β sttp.tapir.codec.zio.prelude.newtype.TapirNewtypeTest
β
should find schema for Newtype which is equal to the schema of its underlying value
β
should find schema for Subtype which is equal to the schema of its underlying value
β
Provided PlainText codec for a Newtype should equal to the codec of its underlying value
β
Provided PlainText codec for a Newtype should correctly deserialize everything it serializes
β
Provided PlainText codec for a Newtype should not deserialize values that do not pass validation
β
Provided PlainText codec for a Subtype should equal to the codec of its underlying value
β
Provided PlainText codec for a Subtype should correctly deserialize everything it serializes
β
Provided PlainText codec for a Subtype should not deserialize values that do not pass validation
β Β integrations/zio/target/native-2.13/test-reports/TEST-sttp.tapir.ztapir.ZioServerSentEventsTest.xml
No tests found
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.ztapir.ZioServerSentEventsTest | 0ms |
β Β integrations/zio/target/native-2.13/test-reports/TEST-sttp.tapir.ztapir.ZTapirTest.xml
No tests found
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.ztapir.ZTapirTest | 0ms |
β Β json/zio/target/native-2.13/test-reports/TEST-sttp.tapir.json.zio.TapirJsonZioTest.xml
8 tests were completed in 15ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.json.zio.TapirJsonZioTest | 8β | 15ms |
β Β sttp.tapir.json.zio.TapirJsonZioTest
β
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 Scala case class with list
β
should encode to non-prettified Json
β
should return a JSON specific error on object decode failure
β
should return a JSON specific error on array decode failure
β
should return a coproduct schema for a JsonValue
β
should return a coproduct schema for a JsonObject
β Β server/core/target/native-2.13/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-2.13/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSInterceptorTest.xml
2 tests were completed in 2ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.server.interceptor.cors.CORSInterceptorTest | 2β | 2ms |
β Β 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-2.13/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-2.13/test-reports/TEST-sttp.tapir.server.interpreter.DecodeBasicInputsTest.xml
1 tests were completed in 27ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.server.interpreter.DecodeBasicInputsTest | 1β | 27ms |
β Β sttp.tapir.server.interpreter.DecodeBasicInputsTest
β
should return an error if decoding throws an exception
β Β server/core/target/native-2.13/test-reports/TEST-sttp.tapir.server.interpreter.FilterServerEndpointsTest.xml
9 tests were completed in 0ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.server.interpreter.FilterServerEndpointsTest | 9β | 0ms |
β Β 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-2.13/test-reports/TEST-sttp.tapir.server.interpreter.ServerInterpreterTest.xml
3 tests were completed in 2ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
sttp.tapir.server.interpreter.ServerInterpreterTest | 3β | 2ms |
β Β 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