Skip to content

Updated documentation and metadata and fixed leftovers from .NET6 #54

Updated documentation and metadata and fixed leftovers from .NET6

Updated documentation and metadata and fixed leftovers from .NET6 #54

GitHub Actions / .NET Test Report succeeded Aug 1, 2024 in 0s

68 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
dotnet-test-samples/apigw-lambda-ddb/tests/ApiTests.IntegrationTest/TestResults/test-results.trx 1s
dotnet-test-samples/apigw-lambda-ddb/tests/ApiTests.UnitTest/TestResults/test-results.trx 30✅ 2s
dotnet-test-samples/apigw-lambda-list-s3-buckets/tests/ServerlessTestSamples.IntegrationTest/TestResults/test-results.trx 1s
dotnet-test-samples/apigw-lambda-list-s3-buckets/tests/ServerlessTestSamples.UnitTest/TestResults/test-results.trx 7✅ 2s
dotnet-test-samples/async-lambda-dynamodb/tests/AsyncTesting.IntegrationTest/TestResults/test-results.trx 589ms
dotnet-test-samples/async-lambda-sqs/tests/S3Notifications.E2ETests/TestResults/test-results.trx 1s
dotnet-test-samples/async-lambda-sqs/tests/S3Notifications.integrationTests/TestResults/test-results.trx 975ms
dotnet-test-samples/async-lambda-sqs/tests/S3Notifications.TestUtilities/TestResults/test-results.trx 158ms
dotnet-test-samples/async-lambda-sqs/tests/S3Notifications.UnitTests/TestResults/test-results.trx 5✅ 1s
dotnet-test-samples/hexagonal-architecture/tests/GetStock.IntegrationTest/TestResults/test-results.trx 981ms
dotnet-test-samples/hexagonal-architecture/tests/GetStock.UnitTest/TestResults/test-results.trx 8✅ 1s
dotnet-test-samples/kinesis-lambda-dynamodb/tests/KinesisEventHandler.IntegrationTests/TestResults/test-results.trx 1s
dotnet-test-samples/kinesis-lambda-dynamodb/tests/KinesisEventHandler.UnitTests/TestResults/test-results.trx 8✅ 1s
dotnet-test-samples/schema-and-contract-testing/tests/SchemaTesting.SchemaRegistry/TestResults/test-results.trx 1s
dotnet-test-samples/schema-and-contract-testing/tests/SchemaTesting.UnitTest/TestResults/test-results.trx 10✅ 2s
dotnet-test-samples/test-containers/tests/ApiTests.IntegrationTestWithEmulation/TestResults/test-results.trx 4s

✅ dotnet-test-samples/apigw-lambda-ddb/tests/ApiTests.IntegrationTest/TestResults/test-results.trx

No tests found

✅ dotnet-test-samples/apigw-lambda-ddb/tests/ApiTests.UnitTest/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
ApiTests.UnitTest.DynamoDbOptionsTest 1✅ 33ms
ApiTests.UnitTest.MockDeleteProductFunctionTests 6✅ 205ms
ApiTests.UnitTest.MockGetProductFunctionTests 7✅ 193ms
ApiTests.UnitTest.MockGetProductsFunctionTests 7✅ 247ms
ApiTests.UnitTest.MockPutProductFunctionTests 9✅ 253ms

✅ ApiTests.UnitTest.DynamoDbOptionsTest

✅ DynamoDbOptions_ShouldHaveDefaultTableName

✅ ApiTests.UnitTest.MockDeleteProductFunctionTests

✅ DeleteProduct_With_ErrorInDeleteDataAccess_Should_Return500
✅ DeleteProduct_With_ProductInDb_Should_ReturnSuccess
✅ DeleteProduct_With_TimeOut_Should_Return503
✅ TestLambdaHandler_With_NonDeleteRequests_Should_Return405(httpMethod: "GET")
✅ TestLambdaHandler_With_NonDeleteRequests_Should_Return405(httpMethod: "POST")
✅ TestLambdaHandler_With_NonDeleteRequests_Should_Return405(httpMethod: "PUT")

✅ ApiTests.UnitTest.MockGetProductFunctionTests

✅ GetProduct_Should_ReturnSuccess
✅ GetProduct_With_ErrorInDataAccess_Should_Return500
✅ GetProduct_With_ProductNotFound_Should_Return404
✅ GetProduct_With_TimeOut_Should_Return503
✅ TestLambdaHandler_WithNonGetRequests_Should_Return405(httpMethod: "DELETE")
✅ TestLambdaHandler_WithNonGetRequests_Should_Return405(httpMethod: "POST")
✅ TestLambdaHandler_WithNonGetRequests_Should_Return405(httpMethod: "PUT")

✅ ApiTests.UnitTest.MockGetProductsFunctionTests

✅ GetProducts_Should_ReturnSuccess
✅ GetProducts_With_DataAccessReturnsProducts_Should_ReturnInBody
✅ GetProducts_With_ErrorInDataAccess_Should_Return500
✅ GetProducts_With_TimeOut_Should_Return503
✅ TestLambdaHandler_With_NonGetRequests_Should_Return405(httpMethod: "DELETE")
✅ TestLambdaHandler_With_NonGetRequests_Should_Return405(httpMethod: "POST")
✅ TestLambdaHandler_With_NonGetRequests_Should_Return405(httpMethod: "PUT")

✅ ApiTests.UnitTest.MockPutProductFunctionTests

✅ PutProduct_With_EmptyBody_Should_ReturnBadRequest
✅ PutProduct_With_ErrorInDataAccess_Should_Return500
✅ PutProduct_With_MismatchingIds_Should_ReturnBadRequest
✅ PutProduct_With_TimeOut_Should_Return503
✅ PutProduct_WithSuccsfulInsert_Should_Return201
✅ PutProduct_WithSuccsfulUpdate_Should_Return200
✅ TestLambdaHandler_With_NonPutRequests_Should_Return405(httpMethod: "DELETE")
✅ TestLambdaHandler_With_NonPutRequests_Should_Return405(httpMethod: "GET")
✅ TestLambdaHandler_With_NonPutRequests_Should_Return405(httpMethod: "POST")

✅ dotnet-test-samples/apigw-lambda-list-s3-buckets/tests/ServerlessTestSamples.IntegrationTest/TestResults/test-results.trx

No tests found

✅ dotnet-test-samples/apigw-lambda-list-s3-buckets/tests/ServerlessTestSamples.UnitTest/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
ServerlessTestSamples.UnitTest.MockBusinessLogicTests 3✅ 294ms
ServerlessTestSamples.UnitTest.MockSdkTests 4✅ 383ms

✅ ServerlessTestSamples.UnitTest.MockBusinessLogicTests

✅ TestCoreBusinessLogic_With_ErrorStorageResponse_Should_ReturnEmptyList
✅ TestCoreBusinessLogic_With_StorageServiceException_Should_ReturnEmptyList
✅ TestCoreBusinessLogic_With_SuccessfulResponse_Should_ReturnStorageAreas

✅ ServerlessTestSamples.UnitTest.MockSdkTests

✅ TestLambdaHandler_With_EmptyS3Response_Should_ReturnEmpty
✅ TestLambdaHandler_With_S3Exception_Should_ReturnEmpty
✅ TestLambdaHandler_With_S3NullResponse_Should_ReturnEmpty
✅ TestLambdaHandler_With_ValidS3Response_Should_ReturnSuccess

✅ dotnet-test-samples/async-lambda-dynamodb/tests/AsyncTesting.IntegrationTest/TestResults/test-results.trx

No tests found

✅ dotnet-test-samples/async-lambda-sqs/tests/S3Notifications.E2ETests/TestResults/test-results.trx

No tests found

✅ dotnet-test-samples/async-lambda-sqs/tests/S3Notifications.integrationTests/TestResults/test-results.trx

No tests found

✅ dotnet-test-samples/async-lambda-sqs/tests/S3Notifications.TestUtilities/TestResults/test-results.trx

No tests found

✅ dotnet-test-samples/async-lambda-sqs/tests/S3Notifications.UnitTests/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
S3Notifications.UnitTests.FunctionTest 5✅ 187ms

✅ S3Notifications.UnitTests.FunctionTest

✅ FunctionHandler_With_EmptyEvent_Should_ReturnNull
✅ FunctionHandler_With_EventWithoutAnyRecords_Should_ReturnNull
✅ FunctionHandler_With_QueueNameNotSet_Should_ThrowException
✅ FunctionHandler_With_QueueNameSet_Should_QueueNewMessage
✅ FunctionHandler_With_QueueNameSet_Should_ReturnMessageId

✅ dotnet-test-samples/hexagonal-architecture/tests/GetStock.IntegrationTest/TestResults/test-results.trx

No tests found

✅ dotnet-test-samples/hexagonal-architecture/tests/GetStock.UnitTest/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
GetStock.UnitTest.CurrencyConverterTests 3✅ 260ms
GetStock.UnitTest.Domains.StockLogicTests 3✅ 240ms
GetStock.UnitTest.FunctionsTests 2✅ 265ms

✅ GetStock.UnitTest.CurrencyConverterTests

✅ GetCurrencies_With_FailureReturnedFromClient_Should_ReturnEmptyList
✅ GetCurrencies_With_MultipleValuesReturnedFromClient_Should_ReturnAllValues
✅ GetCurrencies_With_ValidJsonStringReturnedFromClient_Should_ReturnDeserializedValues

✅ GetStock.UnitTest.Domains.StockLogicTests

✅ RetrieveStockValues_With_StockInDbCurrenciesReturnedFromSewrvice_Should_ReturnListOfCurrencyValues
✅ RetrieveStockValues_With_StockInDBNoCurrenciesInService_Should_ReturnOnlyStockValueInUSD
✅ RetrieveStockValues_With_StockNotFoundInDb_Should_ReturnEmptyList

✅ GetStock.UnitTest.FunctionsTests

✅ GetStockById_With_PathMissingStockId_Should_ReturnFailure
✅ GetStockById_With_StockIdInPath_Should_CallFunctionHandler

✅ dotnet-test-samples/kinesis-lambda-dynamodb/tests/KinesisEventHandler.IntegrationTests/TestResults/test-results.trx

No tests found

✅ dotnet-test-samples/kinesis-lambda-dynamodb/tests/KinesisEventHandler.UnitTests/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
KinesisEventHandler.UnitTests.Functions.ProcessEmployeeFunctionTests 4✅ 294ms
KinesisEventHandler.UnitTests.Handlers.KinesisEventHandlerTests 4✅ 347ms

✅ KinesisEventHandler.UnitTests.Functions.ProcessEmployeeFunctionTests

✅ ProcessEmployeeFunction_With_InvalidEmployeeRecord_Should_ThrowValidationException
✅ ProcessEmployeeFunction_With_NullEmployeeRecord_Should_ThrowArgumentNullException
✅ ProcessEmployeeFunction_With_ValidEmployeeRecord_Should_PassValidation
✅ ProcessEmployeeFunction_With_ValidEmployeeRecord_Should_ProcessKinesisRecordSuccessfully

✅ KinesisEventHandler.UnitTests.Handlers.KinesisEventHandlerTests

✅ KinesisEventHandler_With_10_Records_Should_CallProcessKinesisRecord_10_Times
✅ KinesisEventHandler_With_InvalidRecords_Should_Return_BatchItemFailures
✅ KinesisEventHandler_With_OneRecord_Should_CallProcessKinesisRecord_Once
✅ KinesisEventHandler_With_Zero_Records_Should_Not_CallProcessKinesisRecord

✅ dotnet-test-samples/schema-and-contract-testing/tests/SchemaTesting.SchemaRegistry/TestResults/test-results.trx

No tests found

✅ dotnet-test-samples/schema-and-contract-testing/tests/SchemaTesting.UnitTest/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
SchemaTesting.UnitTest.AddressTests 2✅ 292ms
SchemaTesting.UnitTest.ContractTests 5✅ 318ms
SchemaTesting.UnitTest.SchemaTests 3✅ 159ms

✅ SchemaTesting.UnitTest.AddressTests

✅ ParseEmptyAddressEvent_ShouldReturnNull
✅ ProcessCommandWithValidAddress_ShouldReturnSuccess

✅ SchemaTesting.UnitTest.ContractTests

✅ AdditionalElementsAddedToEventPayload_ShouldPass
✅ ElementsRemovedFromEventPayload_ShouldFail
✅ EventPayloadDoesNotMatchSchema_ShouldFail
✅ EventPayloadMatchesSchema_ShouldPass
✅ OptionalElementsAddedToExpectedSchema_ShouldPass

✅ SchemaTesting.UnitTest.SchemaTests

✅ AdditionalOptionalPropertiesAdded_ShouldPass
✅ EventPayloadMatchesSchema_ShouldPass
✅ RemoveElementsFromPayload_ShouldFail

✅ dotnet-test-samples/test-containers/tests/ApiTests.IntegrationTestWithEmulation/TestResults/test-results.trx

No tests found