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

Add Scala 3 support to sttp-mock-server #3478

Merged
merged 3 commits into from
Jan 24, 2024

Replace empty line that was removed by automatic import organisation

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

Add Scala 3 support to sttp-mock-server #3478

Replace empty line that was removed by automatic import organisation
d540ad1
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test report for 2.12-JS-11 succeeded Jan 24, 2024 in 0s

Test report for 2.12-JS-11 ✅

Tests passed successfully

Report Passed Failed Skipped Time
client/sttp-client/target/js-2.12/test-reports/TEST-sttp.tapir.client.sttp.SttpClientBasicTests.xml 57✅ 503ms
client/sttp-client/target/js-2.12/test-reports/TEST-sttp.tapir.client.sttp.SttpClientMultipartTests.xml 3✅ 272ms
client/sttp-client/target/js-2.12/test-reports/TEST-sttp.tapir.client.sttp.SttpClientRequestTests.xml 2✅ 10ms
client/sttp-client/target/js-2.12/test-reports/TEST-sttp.tapir.client.sttp.SttpClientWebSocketZioTests.xml 3✅ 349ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.annotations.DeriveEndpointIOTest.xml 30✅ 8ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.AttributeTest.xml 3✅ 0ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.CodecTest.xml 6✅ 132ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.EndpointTest.xml 76✅ 21ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.generic.EnumsCodecDerivationTest.xml 4✅ 4ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.generic.FormCodecDerivationTest.xml 13✅ 16ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.generic.LegacySchemaGenericAutoTest.xml 8✅ 24ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.generic.MultipartCodecDerivationTest.xml 12✅ 20ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.generic.SchemaGenericAutoTest.xml 27✅ 16ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.generic.ValueClassCodecDerivationTest.xml 1✅ 3ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.internal.RichEndpointInputTest.xml 5✅ 2ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.internal.RichEndpointOutputTest.xml 1✅ 1ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.internal.UrlencodedDataTest.xml 4✅ 0ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.LegacySchemaApplyValidationTest.xml 1✅ 4ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.namespacing.SchemaMacroNamespaceTest.xml 2✅ 7ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.SchemaAnnotationsTest.xml 1✅ 0ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.SchemaApplyValidationTest.xml 13✅ 278ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.SchemaMacroTest.xml 26✅ 10ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.SchemaMacroTest2.xml 5✅ 2ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.SchemaTest.xml 11✅ 7ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.typelevel.MatchTypeTest.xml 8✅ 5ms
core/target/js-2.12/test-reports/TEST-sttp.tapir.ValidatorTest.xml 28✅ 7ms
integrations/cats/target/js-2.12/test-reports/TEST-sttp.tapir.integ.cats.EndpointIOInstancesSpec.xml 3✅ 1ms
integrations/cats/target/js-2.12/test-reports/TEST-sttp.tapir.integ.cats.ExampleFunctorLawSpec.xml 4✅ 18ms
integrations/cats/target/js-2.12/test-reports/TEST-sttp.tapir.integ.cats.ModifyFunctorInstancesTest.xml 4✅ 4ms
integrations/cats/target/js-2.12/test-reports/TEST-sttp.tapir.integ.cats.TapirCodecCatsTest.xml 17✅ 145ms
integrations/cats/target/js-2.12/test-reports/TEST-sttp.tapir.integ.cats.ValidatorCatsTest.xml 3✅ 1ms
integrations/enumeratum/target/js-2.12/test-reports/TEST-sttp.tapir.codec.enumeratum.TapirCodecEnumeratumTest.xml 5✅ 13ms
integrations/newtype/target/js-2.12/test-reports/TEST-sttp.tapir.codec.newtype.TapirCodecNewTypeTest.xml 6✅ 1ms
json/jsoniter/target/js-2.12/test-reports/TEST-sttp.tapir.json.jsoniter.TapirJsonJsoniterTests.xml 1✅ 4ms
json/playjson/target/js-2.12/test-reports/TEST-sttp.tapir.json.play.TapirJsonPlayTests.xml 9✅ 14ms
json/upickle/target/js-2.12/test-reports/TEST-sttp.tapir.json.upickle.TapirJsonuPickleTests.xml 5✅ 8ms
server/core/target/js-2.12/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSConfigTest.xml 2✅ 0ms
server/core/target/js-2.12/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSInterceptorTest.xml 2✅ 0ms
server/core/target/js-2.12/test-reports/TEST-sttp.tapir.server.interceptor.decodefailure.DefaultDecodeFailureHandlerTest.xml 5✅ 4ms
server/core/target/js-2.12/test-reports/TEST-sttp.tapir.server.interpreter.DecodeBasicInputsTest.xml 1✅ 1ms
server/core/target/js-2.12/test-reports/TEST-sttp.tapir.server.interpreter.FilterServerEndpointsTest.xml 9✅ 12ms
server/core/target/js-2.12/test-reports/TEST-sttp.tapir.server.interpreter.ServerInterpreterTest.xml 3✅ 7ms
testing/target/js-2.12/test-reports/TEST-sttp.tapir.testing.EndpointVerifierTest.xml 30✅ 33ms

✅ client/sttp-client/target/js-2.12/test-reports/TEST-sttp.tapir.client.sttp.SttpClientBasicTests.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.client.sttp.SttpClientBasicTests 57✅ 503ms

✅ client/sttp-client/target/js-2.12/test-reports/TEST-sttp.tapir.client.sttp.SttpClientMultipartTests.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.client.sttp.SttpClientMultipartTests 3✅ 272ms

✅ client/sttp-client/target/js-2.12/test-reports/TEST-sttp.tapir.client.sttp.SttpClientRequestTests.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.client.sttp.SttpClientRequestTests 2✅ 10ms

✅ client/sttp-client/target/js-2.12/test-reports/TEST-sttp.tapir.client.sttp.SttpClientWebSocketZioTests.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.client.sttp.SttpClientWebSocketZioTests 3✅ 349ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.annotations.DeriveEndpointIOTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.annotations.DeriveEndpointIOTest 30✅ 8ms

✅ core/target/js-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

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.CodecTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.CodecTest 6✅ 132ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.EndpointTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.EndpointTest 76✅ 21ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.generic.EnumsCodecDerivationTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.generic.EnumsCodecDerivationTest 4✅ 4ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.generic.FormCodecDerivationTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.generic.FormCodecDerivationTest 13✅ 16ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.generic.LegacySchemaGenericAutoTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.generic.LegacySchemaGenericAutoTest 8✅ 24ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.generic.MultipartCodecDerivationTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.generic.MultipartCodecDerivationTest 12✅ 20ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.generic.SchemaGenericAutoTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.generic.SchemaGenericAutoTest 27✅ 16ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.generic.ValueClassCodecDerivationTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.generic.ValueClassCodecDerivationTest 1✅ 3ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.internal.RichEndpointInputTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.internal.RichEndpointInputTest 5✅ 2ms

✅ core/target/js-2.12/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

✅ core/target/js-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

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.LegacySchemaApplyValidationTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.LegacySchemaApplyValidationTest 1✅ 4ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.namespacing.SchemaMacroNamespaceTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.namespacing.SchemaMacroNamespaceTest 2✅ 7ms

✅ core/target/js-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

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.SchemaApplyValidationTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.SchemaApplyValidationTest 13✅ 278ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.SchemaMacroTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.SchemaMacroTest 26✅ 10ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.SchemaMacroTest2.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.SchemaMacroTest2 5✅ 2ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.SchemaTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.SchemaTest 11✅ 7ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.typelevel.MatchTypeTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.typelevel.MatchTypeTest 8✅ 5ms

✅ core/target/js-2.12/test-reports/TEST-sttp.tapir.ValidatorTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.ValidatorTest 28✅ 7ms

✅ integrations/cats/target/js-2.12/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

✅ integrations/cats/target/js-2.12/test-reports/TEST-sttp.tapir.integ.cats.ExampleFunctorLawSpec.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.integ.cats.ExampleFunctorLawSpec 4✅ 18ms

✅ integrations/cats/target/js-2.12/test-reports/TEST-sttp.tapir.integ.cats.ModifyFunctorInstancesTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.integ.cats.ModifyFunctorInstancesTest 4✅ 4ms

✅ integrations/cats/target/js-2.12/test-reports/TEST-sttp.tapir.integ.cats.TapirCodecCatsTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.integ.cats.TapirCodecCatsTest 17✅ 145ms

✅ integrations/cats/target/js-2.12/test-reports/TEST-sttp.tapir.integ.cats.ValidatorCatsTest.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.ValidatorCatsTest 3✅ 1ms

✅ integrations/enumeratum/target/js-2.12/test-reports/TEST-sttp.tapir.codec.enumeratum.TapirCodecEnumeratumTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.codec.enumeratum.TapirCodecEnumeratumTest 5✅ 13ms

✅ integrations/newtype/target/js-2.12/test-reports/TEST-sttp.tapir.codec.newtype.TapirCodecNewTypeTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.codec.newtype.TapirCodecNewTypeTest 6✅ 1ms

✅ json/jsoniter/target/js-2.12/test-reports/TEST-sttp.tapir.json.jsoniter.TapirJsonJsoniterTests.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.json.jsoniter.TapirJsonJsoniterTests 1✅ 4ms

✅ json/playjson/target/js-2.12/test-reports/TEST-sttp.tapir.json.play.TapirJsonPlayTests.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.json.play.TapirJsonPlayTests 9✅ 14ms

✅ json/upickle/target/js-2.12/test-reports/TEST-sttp.tapir.json.upickle.TapirJsonuPickleTests.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.json.upickle.TapirJsonuPickleTests 5✅ 8ms

✅ server/core/target/js-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

✅ server/core/target/js-2.12/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSInterceptorTest.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.CORSInterceptorTest 2✅ 0ms

✅ server/core/target/js-2.12/test-reports/TEST-sttp.tapir.server.interceptor.decodefailure.DefaultDecodeFailureHandlerTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.server.interceptor.decodefailure.DefaultDecodeFailureHandlerTest 5✅ 4ms

✅ server/core/target/js-2.12/test-reports/TEST-sttp.tapir.server.interpreter.DecodeBasicInputsTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.server.interpreter.DecodeBasicInputsTest 1✅ 1ms

✅ server/core/target/js-2.12/test-reports/TEST-sttp.tapir.server.interpreter.FilterServerEndpointsTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.server.interpreter.FilterServerEndpointsTest 9✅ 12ms

✅ server/core/target/js-2.12/test-reports/TEST-sttp.tapir.server.interpreter.ServerInterpreterTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.server.interpreter.ServerInterpreterTest 3✅ 7ms

✅ testing/target/js-2.12/test-reports/TEST-sttp.tapir.testing.EndpointVerifierTest.xml

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

Test suite Passed Failed Skipped Time
sttp.tapir.testing.EndpointVerifierTest 30✅ 33ms