Added unit tests Generators and Analyzers #57
Annotations
2 errors and 10 warnings
Infrastructure.WebApi.Common.IntegrationTests.ApiDataFormatsSpec ► WhenPostWithDifferentDataTypesForXml_ThenReturnsValues:
src/Infrastructure.WebApi.Common.IntegrationTests/ApiDataFormatsSpec.cs#L73
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az931-127_2023-10-08_08_53_45.trx
Error:
Expected string to be "<?xml version="1.0" encoding="utf-8"?><FormatsTestingOnlyResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Custom><Double>91.1</Double><Enum>TwentyOne</Enum><Integer>91</Integer><String>avalue2</String><Time>2023-10-08T09:53:45.8384260Z</Time></Custom><Double>99.9</Double><Enum>OneHundredAndOne</Enum><Integer>9</Integer><String>avalue1</String><Time>2023-10-08T08:53:45.8384260Z</Time></FormatsTestingOnlyResponse>" with a length of 475, but "<?xml version="1.0" encoding="utf-8"?><FormatsTestingOnlyResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Custom><Double>91.1</Double><Enum>TwentyOne</Enum><Integer>91</Integer><String>avalue2</String><Time>2023-10-08T09:53:45.838426Z</Time></Custom><Double>99.9</Double><Enum>OneHundredAndOne</Enum><Integer>9</Integer><String>avalue1</String><Time>2023-10-08T08:53:45.838426Z</Time></FormatsTestingOnlyResponse>" has a length of 473, differs near "Z</" (index 293).
|
build-test
Process completed with exit code 1.
|
build-test:
src/CarsApi/Apis/Cars/CarsApi.cs#L37
Service operation 'Register' is defined as a 'Post' operation, and should return a 'Task<ApiPostResult<TResource, TResponse>>' or 'ApiPostResult<TResource, TResponse>'
|
build-test:
src/ApiHost1/Apis/TestingOnly/TestingWebApi.cs#L37
Service operation 'FormatsRoundTrip' is defined as a 'Post' operation, and should return a 'Task<ApiPostResult<TResource, TResponse>>' or 'ApiPostResult<TResource, TResponse>'
|
build-test:
src/ApiHost1/Apis/TestingOnly/TestingWebApi.cs#L87
Service operation 'StatusesPost' is defined as a 'Post' operation, and should return a 'Task<ApiPostResult<TResource, TResponse>>' or 'ApiPostResult<TResource, TResponse>'
|
build-test:
src/ApiHost1/Apis/TestingOnly/TestingWebApi.cs#L97
Service operation 'StatusesPost2' is defined as a 'Post' operation, and should return a 'Task<ApiPostResult<TResource, TResponse>>' or 'ApiPostResult<TResource, TResponse>'
|
build-test:
src/CarsApi/Apis/Cars/CarsApi.cs#L37
Service operation 'Register' is defined as a 'Post' operation, and should return a 'Task<ApiPostResult<TResource, TResponse>>' or 'ApiPostResult<TResource, TResponse>'
|
build-test:
src/ApiHost1/Apis/TestingOnly/TestingWebApi.cs#L37
Service operation 'FormatsRoundTrip' is defined as a 'Post' operation, and should return a 'Task<ApiPostResult<TResource, TResponse>>' or 'ApiPostResult<TResource, TResponse>'
|
build-test:
src/ApiHost1/Apis/TestingOnly/TestingWebApi.cs#L87
Service operation 'StatusesPost' is defined as a 'Post' operation, and should return a 'Task<ApiPostResult<TResource, TResponse>>' or 'ApiPostResult<TResource, TResponse>'
|
build-test:
src/ApiHost1/Apis/TestingOnly/TestingWebApi.cs#L97
Service operation 'StatusesPost2' is defined as a 'Post' operation, and should return a 'Task<ApiPostResult<TResource, TResponse>>' or 'ApiPostResult<TResource, TResponse>'
|
build-test:
src/CarsApi/Apis/Cars/CarsApi.cs#L37
Service operation 'Register' is defined as a 'Post' operation, and should return a 'Task<ApiPostResult<TResource, TResponse>>' or 'ApiPostResult<TResource, TResponse>'
|
build-test:
src/CarsApi/Apis/Cars/CarsApi.cs#L37
Service operation 'Register' is defined as a 'Post' operation, and should return a 'Task<ApiPostResult<TResource, TResponse>>' or 'ApiPostResult<TResource, TResponse>'
|