Skip to content

Added E2E tests for Closing the books example #806

Added E2E tests for Closing the books example

Added E2E tests for Closing the books example #806

GitHub Actions / Tests Results failed Feb 15, 2024 in 1s

196 passed, 1 failed and 1 skipped

Tests failed

Report Passed Failed Skipped Time
Core.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx 3✔️ 2s
Core.Kafka.Tests/bin/TestResults/net8.0/test-results.trx 2s
Core.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 2s
EventSourcing.Integration.Tests/bin/TestResults/net8.0/test-results.trx 1s
Marten.Integration.Tests/bin/TestResults/net8.0/test-results.trx 2s
Sample/ClosingTheBooks/PointOfSales.Api.Tests/bin/TestResults/net8.0/test-results.trx 5✔️ 9s
Sample/decider/Decider.Tests/TestResults/test-results.trx 1✔️ 1s
Sample/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx 5✔️ 31s
Sample/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx 4✔️ 2s
Sample/ECommerce/Orders/Orders.Api.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 9s
Sample/ECommerce/Orders/Orders.Tests/bin/TestResults/net8.0/test-results.trx 2s
Sample/ECommerce/Payments/Payments.Api.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 9s
Sample/ECommerce/Payments/Payments.Tests/bin/TestResults/net8.0/test-results.trx 2s
Sample/ECommerce/Shipments/Shipments.Api.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 6s
Sample/ECommerce/Shipments/Shipments.Tests/bin/TestResults/net8.0/test-results.trx 2s
Sample/EventPipelines/EventPipelines.Tests/bin/TestResults/net8.0/test-results.trx 6✔️ 2s
Sample/EventStoreDB/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx 5✔️ 25s
Sample/EventStoreDB/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx 3✔️ 2s
Sample/EventStoreDB/Simple/ECommerce.Api.Tests/bin/TestResults/net8.0/test-results.trx 5✔️ 18s
Sample/EventsVersioning/EventsVersioning.Tests/bin/TestResults/net8.0/test-results.trx 16✔️ 2s
Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx 11✔️ 1❌ 16s
Sample/Helpdesk/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx 9✔️ 27s
Sample/HotelManagement/HotelManagement.Tests/TestResults/test-results.trx 39✔️ 1s
Sample/MartenMeetsElastic/MartenMeetsElastic.Tests/TestResults/test-results.trx 1✔️ 6s
Sample/MeetingsManagement/MeetingsManagement.IntegrationTests/bin/TestResults/net8.0/test-results.trx 2✔️ 13s
Sample/MeetingsManagement/MeetingsSearch.IntegrationTests/bin/TestResults/net8.0/test-results.trx 1✔️ 6s
Sample/Tickets/Tickets.Api.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 12s
Sample/Tickets/Tickets.Tests/bin/TestResults/net8.0/test-results.trx 7✔️ 1s
Sample/Warehouse/Warehouse.Api.Tests/bin/TestResults/net8.0/test-results.trx 16✔️ 5s
Workshops/BuildYourOwnEventStore/01-CreateStreamsTable/TestResults/test-results.trx 2s
Workshops/BuildYourOwnEventStore/02-CreateEventsTable/TestResults/test-results.trx 935ms
Workshops/BuildYourOwnEventStore/03-CreateAppendEventFunction/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/03-OptimisticConcurrency/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/04-EventStoreMethods/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/05-StreamAggregation/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/06-TimeTraveling/TestResults/test-results.trx 2s
Workshops/BuildYourOwnEventStore/07-AggregateAndRepository/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/08-Snapshots/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/09-Projections/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/10-ProjectionsWithMarten/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/EventStoreBasics.Tests/bin/TestResults/net8.0/test-results.trx 21✔️ 1✖️ 2s
Workshops/IntroductionToEventSourcing/01-EventsDefinition/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/02-GettingStateFromEvents/TestResults/test-results.trx 980ms
Workshops/IntroductionToEventSourcing/03-AppendingEvents.Marten/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/04-AppendingEvents.EventStoreDB/TestResults/test-results.trx 2s
Workshops/IntroductionToEventSourcing/05-GettingStateFromEvents.Marten/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/06-GettingStateFromEvents.EventStoreDB/TestResults/test-results.trx 2s
Workshops/IntroductionToEventSourcing/07-BusinessLogic/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/08-BusinessLogic.Marten/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/09-BusinessLogic.EventStoreDB/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/10-OptimisticConcurrency.Marten/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/11-OptimisticConcurrency.EventStoreDB/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/12-Projections.SingleStream/TestResults/test-results.trx 2s
Workshops/IntroductionToEventSourcing/13-Projections.SingleStream.Idempotency/TestResults/test-results.trx 2s
Workshops/IntroductionToEventSourcing/14-Projections.SingleStream.EventualConsistency/TestResults/test-results.trx 2s
Workshops/IntroductionToEventSourcing/Solved/01-EventsDefinition/bin/TestResults/net8.0/test-results.trx 1✔️ 1s
Workshops/IntroductionToEventSourcing/Solved/02-GettingStateFromEvents/bin/TestResults/net8.0/test-results.trx 3✔️ 1s
Workshops/IntroductionToEventSourcing/Solved/03-AppendingEvents.Marten/bin/TestResults/net8.0/test-results.trx 1✔️ 4s
Workshops/IntroductionToEventSourcing/Solved/04-AppendingEvents.EventStoreDB/bin/TestResults/net8.0/test-results.trx 1✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/05-GettingStateFromEvents.Marten/bin/TestResults/net8.0/test-results.trx 2✔️ 7s
Workshops/IntroductionToEventSourcing/Solved/06-GettingStateFromEvents.EventStoreDB/bin/TestResults/net8.0/test-results.trx 2✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/07-BusinessLogic/bin/TestResults/net8.0/test-results.trx 3✔️ 1s
Workshops/IntroductionToEventSourcing/Solved/08-BusinessLogic.Marten/bin/TestResults/net8.0/test-results.trx 6✔️ 8s
Workshops/IntroductionToEventSourcing/Solved/09-BusinessLogic.EventStoreDB/bin/TestResults/net8.0/test-results.trx 3✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/10-OptimisticConcurrency.Marten/bin/TestResults/net8.0/test-results.trx 3✔️ 8s
Workshops/IntroductionToEventSourcing/Solved/11-OptimisticConcurrency.EventStoreDB/bin/TestResults/net8.0/test-results.trx 3✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/12-Projections.SingleStream/bin/TestResults/net8.0/test-results.trx 1✔️ 1s
Workshops/IntroductionToEventSourcing/Solved/13-Projections.SingleStream.Idempotency/bin/TestResults/net8.0/test-results.trx 1✔️ 1s
Workshops/IntroductionToEventSourcing/Solved/14-Projections.SingleStream.EventualConsistency/bin/TestResults/net8.0/test-results.trx 1✔️ 5s

✔️ Core.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Core.EventStoreDB.Tests.Events.EventStoreDBEventMetadataJsonConverterTests 2✔️ 126ms
EventStoreDB.Integration.Tests.Commands.EventStoreDBAsyncCommandBusTests 1✔️ 1s

✔️ Core.Kafka.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Core.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Core.Tests.AggregateWithWhenTests 1✔️ 29ms

✔️ EventSourcing.Integration.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Marten.Integration.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Sample/ClosingTheBooks/PointOfSales.Api.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
PointOfSales.Api.Tests.CashRegisters.EndToEndPositiveScenarios 4✔️ 2s
PointOfSales.Api.Tests.CashRegisters.InitializeCashRegisterTests 1✔️ 5s

✔️ Sample/decider/Decider.Tests/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
Decider.UnionTypesTests 1✔️ 11ms

✔️ Sample/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Carts.Api.Tests.ShoppingCarts.AddingProduct.AddProductTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.Canceling.CancelShoppingCartTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests 1✔️ 12s
Carts.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests 1✔️ 7s
Carts.Api.Tests.ShoppingCarts.RemovingProduct.RemoveProductTests 1✔️ 1s

✔️ Sample/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Carts.Tests.Carts.ConfirmingCart.ConfirmCartTests 2✔️ 78ms
Carts.Tests.Carts.InitializingCart.InitializeCartTests 1✔️ 73ms
Carts.Tests.Carts.InitializingCart.OpenShoppingCardCommandHandlerTests 1✔️ 72ms

✔️ Sample/ECommerce/Orders/Orders.Api.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Orders.Api.Tests.Orders.InitializingOrder.InitializeOrderTests 1✔️ 7s

✔️ Sample/ECommerce/Orders/Orders.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Sample/ECommerce/Payments/Payments.Api.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Payments.Api.Tests.Payments.RequestingPayment.RequestPaymentsTests 1✔️ 6s

✔️ Sample/ECommerce/Payments/Payments.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Sample/ECommerce/Shipments/Shipments.Api.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Shipments.Api.Tests.Packages.SendPackageTests 1✔️ 4s

✔️ Sample/ECommerce/Shipments/Shipments.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Sample/EventPipelines/EventPipelines.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
EventPipelines.Tests.ClassesWithBuilderTest 1✔️ 75ms
EventPipelines.Tests.ClassesWithIoCTest 1✔️ 68ms
EventPipelines.Tests.ClassesWithMediatRTest 1✔️ 65ms
EventPipelines.Tests.PureFunctionsWithBuilderTest 1✔️ 13ms
EventPipelines.Tests.PureFunctionsWithIoCTest 1✔️ 13ms
EventPipelines.Tests.PureFunctionsWithMediatRTest 1✔️ 73ms

✔️ Sample/EventStoreDB/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Carts.Api.Tests.ShoppingCarts.AddingProduct.AddProductTests 1✔️ 4s
Carts.Api.Tests.ShoppingCarts.Canceling.CancelShoppingCartTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests 1✔️ 2s
Carts.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests 1✔️ 8s
Carts.Api.Tests.ShoppingCarts.RemovingProduct.RemoveProductTests 1✔️ 1s

✔️ Sample/EventStoreDB/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Carts.Tests.Carts.ConfirmingCart.ConfirmCartTests 1✔️ 28ms
Carts.Tests.Carts.OpeningCart.OpenCartCommandHandlerTests 1✔️ 33ms
Carts.Tests.Carts.OpeningCart.OpenCartTests 1✔️ 36ms

✔️ Sample/EventStoreDB/Simple/ECommerce.Api.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
ECommerce.Api.Tests.ShoppingCarts.AddingProduct.AddProductTests 1✔️ 3s
ECommerce.Api.Tests.ShoppingCarts.Canceling.CancelShoppingCartTests 1✔️ 2s
ECommerce.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests 1✔️ 1s
ECommerce.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests 1✔️ 1s
ECommerce.Api.Tests.ShoppingCarts.RemovingProduct.RemoveProductTests 1✔️ 1s

✔️ Sample/EventsVersioning/EventsVersioning.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
EventsVersioning.Tests.Downcasters.ChangedStructure 2✔️ 69ms
EventsVersioning.Tests.ExplicitSerialization.ExplicitSerializationTests 2✔️ 127ms
EventsVersioning.Tests.SimpleMappings.NewNotRequiredProperty 2✔️ 103ms
EventsVersioning.Tests.SimpleMappings.NewRequiredProperty 2✔️ 69ms
EventsVersioning.Tests.SimpleMappings.RenamedProperty 2✔️ 24ms
EventsVersioning.Tests.Transformations.MergeEvents 1✔️ 257ms
EventsVersioning.Tests.Transformations.MultipleTransformationsWithDifferentEventTypes 1✔️ 101ms
EventsVersioning.Tests.Upcasters.ChangedStructure 2✔️ 38ms
EventsVersioning.Tests.Upcasters.NewRequiredPropertyFromMetadata 2✔️ 22ms

❌ Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx

12 tests were completed in 16s with 11 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Helpdesk.Api.Tests.Incidents.AcknowledgeResolutionIncidentTests 1✔️ 545ms
Helpdesk.Api.Tests.Incidents.AssignAgentToIncidentTests 1✔️ 390ms
Helpdesk.Api.Tests.Incidents.BatchResolutionTests 2✔️ 1s
Helpdesk.Api.Tests.Incidents.CategoriseIncidentTests 1✔️ 273ms
Helpdesk.Api.Tests.Incidents.CloseIncidentTests 1✔️ 205ms
Helpdesk.Api.Tests.Incidents.LogIncidentsTests 1✔️ 56ms
Helpdesk.Api.Tests.Incidents.PrioritiseIncidentTests 1✔️ 281ms
Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests 1❌ 1ms
Helpdesk.Api.Tests.Incidents.RecordCustomerResponseToIncidentTests 1✔️ 385ms
Helpdesk.Api.Tests.Incidents.ResolveIncidentTests 2✔️ 57ms

❌ Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests

❌ RecordAgentResponseCommand_RecordsResponse
	Alba.ScenarioAssertionException : Expected status code 201, but was 500
	
	
	Actual body text was:
	
	{"title":"MartenCommandException","status":500,"detail":"Marten Command Failure:$\n$\n$\n23505: duplicate key value violates unique constraint \"pkey_mt_events_seq_id\"\n\nDETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information."}
	

✔️ Sample/Helpdesk/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx

9 tests were completed in 27s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Helpdesk.Api.Tests.Incidents.AcknowledgeResolutionIncidentTests 1✔️ 60ms
Helpdesk.Api.Tests.Incidents.AssignAgentToIncidentTests 1✔️ 677ms
Helpdesk.Api.Tests.Incidents.CategoriseIncidentTests 1✔️ 171ms
Helpdesk.Api.Tests.Incidents.CloseIncidentTests 1✔️ 13ms
Helpdesk.Api.Tests.Incidents.LogIncidentsTests 1✔️ 7s
Helpdesk.Api.Tests.Incidents.PrioritiseIncidentTests 1✔️ 542ms
Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests 1✔️ 282ms
Helpdesk.Api.Tests.Incidents.RecordCustomerResponseToIncidentTests 1✔️ 201ms
Helpdesk.Api.Tests.Incidents.ResolveIncidentTests 1✔️ 178ms

✔️ Sample/HotelManagement/HotelManagement.Tests/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
HotelManagement.Tests.Sagas.GroupCheckouts.GroupCheckoutSagaTests 5✔️ 90ms
HotelManagement.Tests.Sagas.GroupCheckouts.GroupCheckoutTests 17✔️ 294ms
HotelManagement.Tests.Sagas.GuestStayAccounts.GuestStayAccountTests 17✔️ 287ms

✔️ Sample/MartenMeetsElastic/MartenMeetsElastic.Tests/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
MartenMeetsElastic.Tests.MeetsElasticTest 1✔️ 5s

✔️ Sample/MeetingsManagement/MeetingsManagement.IntegrationTests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
MeetingsManagement.IntegrationTests.Meetings.CreatingMeeting.CreateMeetingTests 1✔️ 3s
MeetingsManagement.IntegrationTests.Meetings.SchedulingMeetings.ScheduleMeetingTests 1✔️ 8s

✔️ Sample/MeetingsManagement/MeetingsSearch.IntegrationTests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
MeetingsSearch.IntegrationTests.Meetings.CreatingMeeting.CreateMeetingTests 1✔️ 4s

✔️ Sample/Tickets/Tickets.Api.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Tickets.Api.Tests.Reservations.CreatingTentativeReservation.CreateTentativeReservationTests 1✔️ 10s

✔️ Sample/Tickets/Tickets.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Tickets.Tests.Reservations.CancellingReservation.CancelReservationTests 3✔️ 7ms
Tickets.Tests.Reservations.ChangingReservationSeat.ChangeSeatTests 1✔️ 33ms
Tickets.Tests.Reservations.ConfirmingReservation.ConfirmReservationTests 1✔️ 1ms
Tickets.Tests.Reservations.CreatingTentativeReservation.CreateTentativeReservationCommandHandlerTests 1✔️ 39ms
Tickets.Tests.Reservations.CreatingTentativeReservation.CreateTentativeReservationTests 1✔️ 37ms

✔️ Sample/Warehouse/Warehouse.Api.Tests/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
Warehouse.Api.Tests.Products.GettingProductDetails.GetProductDetailsTests 4✔️ 251ms
Warehouse.Api.Tests.Products.GettingProducts.GetProductsTests 6✔️ 262ms
Warehouse.Api.Tests.Products.RegisteringProduct.RegisterProductTests 6✔️ 3s

✔️ Workshops/BuildYourOwnEventStore/01-CreateStreamsTable/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/02-CreateEventsTable/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/03-CreateAppendEventFunction/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/03-OptimisticConcurrency/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/04-EventStoreMethods/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/05-StreamAggregation/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/06-TimeTraveling/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/07-AggregateAndRepository/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/08-Snapshots/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/09-Projections/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/10-ProjectionsWithMarten/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/EventStoreBasics.Tests/bin/TestResults/net8.0/test-results.trx

22 tests were completed in 2s with 21 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
EventStoreBasics.Tests.Exercise01CreateStreamsTable 4✔️ 495ms
EventStoreBasics.Tests.Exercise02CreateEventsTable 7✔️ 569ms
EventStoreBasics.Tests.Exercise03CreateAppendEventFunction 2✔️ 91ms
EventStoreBasics.Tests.Exercise04EventStoreMethods 2✔️ 582ms
EventStoreBasics.Tests.Exercise05StreamAggregation 1✔️ 91ms
EventStoreBasics.Tests.Exercise06TimeTravelling 1✔️ 92ms
EventStoreBasics.Tests.Exercise07AggregateAndRepository 1✔️ 98ms
EventStoreBasics.Tests.Exercise08Snapshots 2✔️ 199ms
EventStoreBasics.Tests.Exercise09Projections 1✔️ 557ms
EventStoreBasics.Tests.Exercise10ProjectionsWithMarten 1✖️ 1ms

✔️ Workshops/IntroductionToEventSourcing/01-EventsDefinition/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/02-GettingStateFromEvents/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/03-AppendingEvents.Marten/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/04-AppendingEvents.EventStoreDB/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/05-GettingStateFromEvents.Marten/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/06-GettingStateFromEvents.EventStoreDB/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/07-BusinessLogic/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/08-BusinessLogic.Marten/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/09-BusinessLogic.EventStoreDB/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/10-OptimisticConcurrency.Marten/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/11-OptimisticConcurrency.EventStoreDB/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/12-Projections.SingleStream/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/13-Projections.SingleStream.Idempotency/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/14-Projections.SingleStream.EventualConsistency/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/Solved/01-EventsDefinition/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.EventsDefinition.EventsDefinitionTests 1✔️ 24ms

✔️ Workshops/IntroductionToEventSourcing/Solved/02-GettingStateFromEvents/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.Solution1.GettingStateFromEventsTests 1✔️ 32ms
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.Solution2.GettingStateFromEventsTests 1✔️ 42ms
IntroductionToEventSourcing.GettingStateFromEvents.Mutable.GettingStateFromEventsTests 1✔️ 44ms

✔️ Workshops/IntroductionToEventSourcing/Solved/03-AppendingEvents.Marten/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.AppendingEvents.GettingStateFromEventsTests 1✔️ 3s

✔️ Workshops/IntroductionToEventSourcing/Solved/04-AppendingEvents.EventStoreDB/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.AppendingEvents.GettingStateFromEventsTests 1✔️ 798ms

✔️ Workshops/IntroductionToEventSourcing/Solved/05-GettingStateFromEvents.Marten/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.GettingStateFromEventsTests 1✔️ 5s
IntroductionToEventSourcing.GettingStateFromEvents.Mutable.GettingStateFromEventsTests 1✔️ 5s

✔️ Workshops/IntroductionToEventSourcing/Solved/06-GettingStateFromEvents.EventStoreDB/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.GettingStateFromEventsTests 1✔️ 596ms
IntroductionToEventSourcing.GettingStateFromEvents.Mutable.GettingStateFromEventsTests 1✔️ 584ms

✔️ Workshops/IntroductionToEventSourcing/Solved/07-BusinessLogic/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.BusinessLogic.Immutable.BusinessLogicTests 1✔️ 44ms
IntroductionToEventSourcing.BusinessLogic.Mutable.Solution1.BusinessLogicTests 1✔️ 50ms
IntroductionToEventSourcing.BusinessLogic.Mutable.Solution2.BusinessLogicTests 1✔️ 47ms

✔️ Workshops/IntroductionToEventSourcing/Solved/08-BusinessLogic.Marten/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.BusinessLogic.Immutable.Solution1.BusinessLogicTests 1✔️ 7s
IntroductionToEventSourcing.BusinessLogic.Immutable.Solution2.BusinessLogicTests 1✔️ 7s
IntroductionToEventSourcing.BusinessLogic.Immutable.Solution3.BusinessLogicTests 1✔️ 3s
IntroductionToEventSourcing.BusinessLogic.Immutable.Solution4.BusinessLogicTests 1✔️ 7s
IntroductionToEventSourcing.BusinessLogic.Mixed.BusinessLogicTests 1✔️ 7s
IntroductionToEventSourcing.BusinessLogic.Mutable.BusinessLogicTests 1✔️ 3s

✔️ Workshops/IntroductionToEventSourcing/Solved/09-BusinessLogic.EventStoreDB/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.BusinessLogic.Immutable.BusinessLogicTests 1✔️ 588ms
IntroductionToEventSourcing.BusinessLogic.Mixed.BusinessLogicTests 1✔️ 593ms
IntroductionToEventSourcing.BusinessLogic.Mutable.BusinessLogicTests 1✔️ 588ms

✔️ Workshops/IntroductionToEventSourcing/Solved/10-OptimisticConcurrency.Marten/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.OptimisticConcurrency.Immutable.OptimisticConcurrencyTests 1✔️ 7s
IntroductionToEventSourcing.OptimisticConcurrency.Mixed.OptimisticConcurrencyTests 1✔️ 7s
IntroductionToEventSourcing.OptimisticConcurrency.Mutable.OptimisticConcurrencyTests 1✔️ 7s

✔️ Workshops/IntroductionToEventSourcing/Solved/11-OptimisticConcurrency.EventStoreDB/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.OptimisticConcurrency.Immutable.OptimisticConcurrencyTests 1✔️ 655ms
IntroductionToEventSourcing.OptimisticConcurrency.Mixed.OptimisticConcurrencyTests 1✔️ 642ms
IntroductionToEventSourcing.OptimisticConcurrency.Mutable.OptimisticConcurrencyTests 1✔️ 636ms

✔️ Workshops/IntroductionToEventSourcing/Solved/12-Projections.SingleStream/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.ProjectionsTests 1✔️ 123ms

✔️ Workshops/IntroductionToEventSourcing/Solved/13-Projections.SingleStream.Idempotency/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.ProjectionsTests 1✔️ 140ms

✔️ Workshops/IntroductionToEventSourcing/Solved/14-Projections.SingleStream.EventualConsistency/bin/TestResults/net8.0/test-results.trx

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

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.ProjectionsTests 1✔️ 4s

Annotations

Check failure on line 35 in Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/Scenarios.cs

See this annotation in the file changed.

@github-actions github-actions / Tests Results

Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests ► RecordAgentResponseCommand_RecordsResponse

Failed test found in:
  Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx
Error:
  Alba.ScenarioAssertionException : Expected status code 201, but was 500
  
  
  Actual body text was:
  
  {"title":"MartenCommandException","status":500,"detail":"Marten Command Failure:$\n$\n$\n23505: duplicate key value violates unique constraint \"pkey_mt_events_seq_id\"\n\nDETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information."}
  
Raw output
Alba.ScenarioAssertionException : Expected status code 201, but was 500


Actual body text was:

{"title":"MartenCommandException","status":500,"detail":"Marten Command Failure:$\n$\n$\n23505: duplicate key value violates unique constraint \"pkey_mt_events_seq_id\"\n\nDETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information."}

   at Alba.ScenarioAssertionException.AssertAll() in /_/src/Alba/ScenarioAssertionException.cs:line 35
   at Alba.Scenario.RunAssertions(HttpContext context) in /_/src/Alba/Scenario.cs:line 280
   at Alba.AlbaHost.Scenario(Action`1 configure) in /_/src/Alba/AlbaHost.cs:line 251
   at Alba.AlbaHost.Scenario(Action`1 configure) in /_/src/Alba/AlbaHost.cs:line 255
   at Helpdesk.Api.Tests.Incidents.Fixtures.Scenarios.LoggedIncident(IAlbaHost api) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/Scenarios.cs:line 35
   at Helpdesk.Api.Tests.Incidents.Fixtures.ApiWithLoggedIncident.InitializeAsync() in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/ApiWithLoggedIncident.cs:line 9