Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update prometheus-metrics-core, ... to 1.3.4 #4186

Merged
merged 1 commit into from
Nov 26, 2024

Update prometheus-metrics-core, ... to 1.3.4

de5020a
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Update prometheus-metrics-core, ... to 1.3.4 #4186

Update prometheus-metrics-core, ... to 1.3.4
de5020a
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test report for 2.12-Native-11 succeeded Nov 26, 2024 in 0s

337 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
core/target/native-2.12/test-reports/TEST-sttp.tapir.annotations.DeriveEndpointIOTest.xml 30βœ… 0ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.AttributeTest.xml 3βœ… 0ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.CodecTest.xml 6βœ… 91ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.EndpointTest.xml 76βœ… 7ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.generic.EnumsCodecDerivationTest.xml 4βœ… 1ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.generic.FormCodecDerivationTest.xml 14βœ… 2ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.generic.LegacySchemaGenericAutoTest.xml 8βœ… 4ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.generic.MultipartCodecDerivationTest.xml 13βœ… 4ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.generic.SchemaGenericAutoTest.xml 29βœ… 5ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.generic.ValueClassCodecDerivationTest.xml 1βœ… 1ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.internal.RichEndpointInputTest.xml 5βœ… 0ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.internal.RichEndpointOutputTest.xml 1βœ… 0ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.internal.UrlencodedDataTest.xml 4βœ… 0ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.LegacySchemaApplyValidationTest.xml 1βœ… 1ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.namespacing.SchemaMacroNamespaceTest.xml 2βœ… 1ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.SchemaAnnotationsTest.xml 1βœ… 0ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.SchemaApplyValidationTest.xml 13βœ… 401ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.SchemaMacroTest.xml 26βœ… 3ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.SchemaMacroTest2.xml 5βœ… 30ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.SchemaTest.xml 13βœ… 2ms
core/target/native-2.12/test-reports/TEST-sttp.tapir.typelevel.MatchTypeTest.xml 8βœ… 1s
core/target/native-2.12/test-reports/TEST-sttp.tapir.ValidatorTest.xml 28βœ… 0ms
integrations/zio-prelude/target/native-2.12/test-reports/TEST-sttp.tapir.codec.zio.prelude.newtype.TapirNewtypeSupportTest.xml 8βœ… 2ms
integrations/zio-prelude/target/native-2.12/test-reports/TEST-sttp.tapir.codec.zio.prelude.newtype.TapirNewtypeTest.xml 8βœ… 0ms
integrations/zio/target/native-2.12/test-reports/TEST-sttp.tapir.ztapir.ZioServerSentEventsTest.xml 0ms
integrations/zio/target/native-2.12/test-reports/TEST-sttp.tapir.ztapir.ZTapirTest.xml 0ms
json/zio/target/native-2.12/test-reports/TEST-sttp.tapir.json.zio.TapirJsonZioTest.xml 8βœ… 23ms
server/core/target/native-2.12/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSConfigTest.xml 2βœ… 0ms
server/core/target/native-2.12/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSInterceptorTest.xml 2βœ… 3ms
server/core/target/native-2.12/test-reports/TEST-sttp.tapir.server.interceptor.decodefailure.DefaultDecodeFailureHandlerTest.xml 5βœ… 2ms
server/core/target/native-2.12/test-reports/TEST-sttp.tapir.server.interpreter.DecodeBasicInputsTest.xml 1βœ… 21ms
server/core/target/native-2.12/test-reports/TEST-sttp.tapir.server.interpreter.FilterServerEndpointsTest.xml 9βœ… 1ms
server/core/target/native-2.12/test-reports/TEST-sttp.tapir.server.interpreter.ServerInterpreterTest.xml 3βœ… 2ms

βœ…Β core/target/native-2.12/test-reports/TEST-sttp.tapir.annotations.DeriveEndpointIOTest.xml

30 tests were completed in 0ms with 30 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.annotations.DeriveEndpointIOTest 30βœ… 0ms

βœ…Β 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.12/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.12/test-reports/TEST-sttp.tapir.CodecTest.xml

6 tests were completed in 91ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.CodecTest 6βœ… 91ms

βœ…Β 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.12/test-reports/TEST-sttp.tapir.EndpointTest.xml

76 tests were completed in 7ms with 76 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.EndpointTest 76βœ… 7ms

βœ…Β 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: /EeXsx8*4n.9NjyT%3DYtJuUf%26F%21Aa5mM%29Ii-%40%2C%3BvG61VqQL%27bgBlPp0_2CH%2BcWh%287rKw%3AR%243k%7EODZozSd, errout: -, out: -) should be /EeXsx8*4n.9NjyT=YtJuUf&F!Aa5mM)Ii-@,;vG61VqQL'bgBlPp0_2CH+cWh(7rKw:R$3k~ODZozSd
βœ… 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.12/test-reports/TEST-sttp.tapir.generic.EnumsCodecDerivationTest.xml

4 tests were completed in 1ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.generic.EnumsCodecDerivationTest 4βœ… 1ms

βœ…Β 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.12/test-reports/TEST-sttp.tapir.generic.FormCodecDerivationTest.xml

14 tests were completed in 2ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.generic.FormCodecDerivationTest 14βœ… 2ms

βœ…Β 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.12/test-reports/TEST-sttp.tapir.generic.LegacySchemaGenericAutoTest.xml

8 tests were completed in 4ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.generic.LegacySchemaGenericAutoTest 8βœ… 4ms

βœ…Β 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.12/test-reports/TEST-sttp.tapir.generic.MultipartCodecDerivationTest.xml

13 tests were completed in 4ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.generic.MultipartCodecDerivationTest 13βœ… 4ms

βœ…Β 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.12/test-reports/TEST-sttp.tapir.generic.SchemaGenericAutoTest.xml

29 tests were completed in 5ms with 29 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.generic.SchemaGenericAutoTest 29βœ… 5ms

βœ…Β 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.12/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.12/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.12/test-reports/TEST-sttp.tapir.internal.RichEndpointOutputTest.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.internal.RichEndpointOutputTest 1βœ… 0ms

βœ…Β sttp.tapir.internal.RichEndpointOutputTest

βœ… output media type should match content type with lower and upper case charset

βœ…Β core/target/native-2.12/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-2.12/test-reports/TEST-sttp.tapir.LegacySchemaApplyValidationTest.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.LegacySchemaApplyValidationTest 1βœ… 1ms

βœ…Β sttp.tapir.LegacySchemaApplyValidationTest

βœ… should validate recursive values with two-level hierarchy

βœ…Β core/target/native-2.12/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.12/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.12/test-reports/TEST-sttp.tapir.SchemaApplyValidationTest.xml

13 tests were completed in 401ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.SchemaApplyValidationTest 13βœ… 401ms

βœ…Β 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.12/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.12/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.12/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.12/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.12/test-reports/TEST-sttp.tapir.ValidatorTest.xml

28 tests were completed in 0ms with 28 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.ValidatorTest 28βœ… 0ms

βœ…Β 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.12/test-reports/TEST-sttp.tapir.codec.zio.prelude.newtype.TapirNewtypeSupportTest.xml

8 tests were completed in 2ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.codec.zio.prelude.newtype.TapirNewtypeSupportTest 8βœ… 2ms

βœ…Β 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.12/test-reports/TEST-sttp.tapir.codec.zio.prelude.newtype.TapirNewtypeTest.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.TapirNewtypeTest 8βœ… 0ms

βœ…Β 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.12/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.12/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.12/test-reports/TEST-sttp.tapir.json.zio.TapirJsonZioTest.xml

8 tests were completed in 23ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.json.zio.TapirJsonZioTest 8βœ… 23ms

βœ…Β 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.12/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.12/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSInterceptorTest.xml

2 tests were completed in 3ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.server.interceptor.cors.CORSInterceptorTest 2βœ… 3ms

βœ…Β 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.12/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.12/test-reports/TEST-sttp.tapir.server.interpreter.DecodeBasicInputsTest.xml

1 tests were completed in 21ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.server.interpreter.DecodeBasicInputsTest 1βœ… 21ms

βœ…Β sttp.tapir.server.interpreter.DecodeBasicInputsTest

βœ… should return an error if decoding throws an exception

βœ…Β server/core/target/native-2.12/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-2.12/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