Skip to content

Added example of closing the books with Marten assuming that open and… #805

Added example of closing the books with Marten assuming that open and…

Added example of closing the books with Marten assuming that open and… #805

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

190 passed, 2 failed and 1 skipped

Tests failed

Report Passed Failed Skipped Time
Core.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx 3✔️ 3s
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/decider/Decider.Tests/TestResults/test-results.trx 1✔️ 1s
Sample/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx 5✔️ 32s
Sample/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx 4✔️ 3s
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✔️ 26s
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 4✔️ 1❌ 19s
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❌ 15s
Sample/Helpdesk/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx 9✔️ 26s
Sample/HotelManagement/HotelManagement.Tests/TestResults/test-results.trx 39✔️ 2s
Sample/MartenMeetsElastic/MartenMeetsElastic.Tests/TestResults/test-results.trx 1✔️ 5s
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✔️ 14s
Sample/Tickets/Tickets.Tests/bin/TestResults/net8.0/test-results.trx 7✔️ 2s
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 1s
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 2s
Workshops/BuildYourOwnEventStore/05-StreamAggregation/TestResults/test-results.trx 2s
Workshops/BuildYourOwnEventStore/06-TimeTraveling/TestResults/test-results.trx 1s
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 875ms
Workshops/IntroductionToEventSourcing/02-GettingStateFromEvents/TestResults/test-results.trx 1s
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 1s
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 1s
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✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/03-AppendingEvents.Marten/bin/TestResults/net8.0/test-results.trx 1✔️ 7s
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✔️ 6s
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✔️ 10s
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✔️ 2s
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 3s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Core.EventStoreDB.Tests.Events.EventStoreDBEventMetadataJsonConverterTests 2✔️ 99ms
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✔️ 26ms

✔️ 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/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 32s 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✔️ 6s
Carts.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests 1✔️ 5s
Carts.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests 1✔️ 11s
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 3s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Carts.Tests.Carts.ConfirmingCart.ConfirmCartTests 2✔️ 62ms
Carts.Tests.Carts.InitializingCart.InitializeCartTests 1✔️ 47ms
Carts.Tests.Carts.InitializingCart.OpenShoppingCardCommandHandlerTests 1✔️ 44ms

✔️ 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✔️ 7s

✔️ 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✔️ 3s

✔️ 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✔️ 70ms
EventPipelines.Tests.ClassesWithIoCTest 1✔️ 3ms
EventPipelines.Tests.ClassesWithMediatRTest 1✔️ 100ms
EventPipelines.Tests.PureFunctionsWithBuilderTest 1✔️ 81ms
EventPipelines.Tests.PureFunctionsWithIoCTest 1✔️ 87ms
EventPipelines.Tests.PureFunctionsWithMediatRTest 1✔️ 13ms

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

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

Test suite Passed Failed Skipped Time
Carts.Api.Tests.ShoppingCarts.AddingProduct.AddProductTests 1✔️ 10s
Carts.Api.Tests.ShoppingCarts.Canceling.CancelShoppingCartTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests 1✔️ 2s
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✔️ 21ms
Carts.Tests.Carts.OpeningCart.OpenCartCommandHandlerTests 1✔️ 46ms
Carts.Tests.Carts.OpeningCart.OpenCartTests 1✔️ 44ms

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

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

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

❌ ECommerce.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests

❌ Post_ShouldReturn_CreatedStatus_With_CartId
	Expected object not to be <null> because ETag response header should be defined.

✔️ 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✔️ 22ms
EventsVersioning.Tests.ExplicitSerialization.ExplicitSerializationTests 2✔️ 171ms
EventsVersioning.Tests.SimpleMappings.NewNotRequiredProperty 2✔️ 49ms
EventsVersioning.Tests.SimpleMappings.NewRequiredProperty 2✔️ 49ms
EventsVersioning.Tests.SimpleMappings.RenamedProperty 2✔️ 28ms
EventsVersioning.Tests.Transformations.MergeEvents 1✔️ 236ms
EventsVersioning.Tests.Transformations.MultipleTransformationsWithDifferentEventTypes 1✔️ 172ms
EventsVersioning.Tests.Upcasters.ChangedStructure 2✔️ 1ms
EventsVersioning.Tests.Upcasters.NewRequiredPropertyFromMetadata 2✔️ 97ms

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

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

Test suite Passed Failed Skipped Time
Helpdesk.Api.Tests.Incidents.AcknowledgeResolutionIncidentTests 1✔️ 688ms
Helpdesk.Api.Tests.Incidents.AssignAgentToIncidentTests 1✔️ 341ms
Helpdesk.Api.Tests.Incidents.BatchResolutionTests 2✔️ 1s
Helpdesk.Api.Tests.Incidents.CategoriseIncidentTests 1✔️ 253ms
Helpdesk.Api.Tests.Incidents.CloseIncidentTests 1✔️ 291ms
Helpdesk.Api.Tests.Incidents.LogIncidentsTests 1✔️ 25ms
Helpdesk.Api.Tests.Incidents.PrioritiseIncidentTests 1✔️ 296ms
Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests 1❌ 1ms
Helpdesk.Api.Tests.Incidents.RecordCustomerResponseToIncidentTests 1✔️ 537ms
Helpdesk.Api.Tests.Incidents.ResolveIncidentTests 2✔️ 62ms

❌ 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 26s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Helpdesk.Api.Tests.Incidents.AcknowledgeResolutionIncidentTests 1✔️ 12ms
Helpdesk.Api.Tests.Incidents.AssignAgentToIncidentTests 1✔️ 171ms
Helpdesk.Api.Tests.Incidents.CategoriseIncidentTests 1✔️ 563ms
Helpdesk.Api.Tests.Incidents.CloseIncidentTests 1✔️ 16ms
Helpdesk.Api.Tests.Incidents.LogIncidentsTests 1✔️ 2s
Helpdesk.Api.Tests.Incidents.PrioritiseIncidentTests 1✔️ 527ms
Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests 1✔️ 353ms
Helpdesk.Api.Tests.Incidents.RecordCustomerResponseToIncidentTests 1✔️ 441ms
Helpdesk.Api.Tests.Incidents.ResolveIncidentTests 1✔️ 679ms

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

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

Test suite Passed Failed Skipped Time
HotelManagement.Tests.Sagas.GroupCheckouts.GroupCheckoutSagaTests 5✔️ 36ms
HotelManagement.Tests.Sagas.GroupCheckouts.GroupCheckoutTests 17✔️ 270ms
HotelManagement.Tests.Sagas.GuestStayAccounts.GuestStayAccountTests 17✔️ 262ms

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

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

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

✔️ 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✔️ 7s
MeetingsManagement.IntegrationTests.Meetings.SchedulingMeetings.ScheduleMeetingTests 1✔️ 4s

✔️ 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 14s with 1 passed, 0 failed and 0 skipped.

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

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

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

Test suite Passed Failed Skipped Time
Tickets.Tests.Reservations.CancellingReservation.CancelReservationTests 3✔️ 21ms
Tickets.Tests.Reservations.ChangingReservationSeat.ChangeSeatTests 1✔️ 31ms
Tickets.Tests.Reservations.ConfirmingReservation.ConfirmReservationTests 1✔️ 28ms
Tickets.Tests.Reservations.CreatingTentativeReservation.CreateTentativeReservationCommandHandlerTests 1✔️ 41ms
Tickets.Tests.Reservations.CreatingTentativeReservation.CreateTentativeReservationTests 1✔️ 8ms

✔️ 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✔️ 291ms
Warehouse.Api.Tests.Products.GettingProducts.GetProductsTests 6✔️ 268ms
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✔️ 172ms
EventStoreBasics.Tests.Exercise02CreateEventsTable 7✔️ 267ms
EventStoreBasics.Tests.Exercise03CreateAppendEventFunction 2✔️ 370ms
EventStoreBasics.Tests.Exercise04EventStoreMethods 2✔️ 197ms
EventStoreBasics.Tests.Exercise05StreamAggregation 1✔️ 89ms
EventStoreBasics.Tests.Exercise06TimeTravelling 1✔️ 142ms
EventStoreBasics.Tests.Exercise07AggregateAndRepository 1✔️ 540ms
EventStoreBasics.Tests.Exercise08Snapshots 2✔️ 745ms
EventStoreBasics.Tests.Exercise09Projections 1✔️ 590ms
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✔️ 17ms

✔️ Workshops/IntroductionToEventSourcing/Solved/02-GettingStateFromEvents/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.GettingStateFromEvents.Immutable.Solution1.GettingStateFromEventsTests 1✔️ 44ms
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.Solution2.GettingStateFromEventsTests 1✔️ 42ms
IntroductionToEventSourcing.GettingStateFromEvents.Mutable.GettingStateFromEventsTests 1✔️ 43ms

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

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

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

✔️ 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✔️ 419ms

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

2 tests were completed in 6s 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✔️ 610ms
IntroductionToEventSourcing.GettingStateFromEvents.Mutable.GettingStateFromEventsTests 1✔️ 603ms

✔️ 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✔️ 57ms
IntroductionToEventSourcing.BusinessLogic.Mutable.Solution1.BusinessLogicTests 1✔️ 57ms
IntroductionToEventSourcing.BusinessLogic.Mutable.Solution2.BusinessLogicTests 1✔️ 51ms

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

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

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

✔️ 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✔️ 624ms
IntroductionToEventSourcing.BusinessLogic.Mixed.BusinessLogicTests 1✔️ 624ms
IntroductionToEventSourcing.BusinessLogic.Mutable.BusinessLogicTests 1✔️ 622ms

✔️ 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✔️ 667ms
IntroductionToEventSourcing.OptimisticConcurrency.Mixed.OptimisticConcurrencyTests 1✔️ 689ms
IntroductionToEventSourcing.OptimisticConcurrency.Mutable.OptimisticConcurrencyTests 1✔️ 687ms

✔️ 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✔️ 115ms

✔️ Workshops/IntroductionToEventSourcing/Solved/13-Projections.SingleStream.Idempotency/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.GettingStateFromEvents.ProjectionsTests 1✔️ 151ms

✔️ 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✔️ 3s

Annotations

Check failure on line 0 in Sample/EventStoreDB/Simple/ECommerce.Api.Tests/bin/TestResults/net8.0/test-results.trx

See this annotation in the file changed.

@github-actions github-actions / Tests Results

ECommerce.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests ► Post_ShouldReturn_CreatedStatus_With_CartId

Failed test found in:
  Sample/EventStoreDB/Simple/ECommerce.Api.Tests/bin/TestResults/net8.0/test-results.trx
Error:
  Expected object not to be <null> because ETag response header should be defined.
Raw output
Expected object not to be <null> because ETag response header should be defined.
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message)
   at FluentAssertions.Primitives.ReferenceTypeAssertions`2.NotBeNull(String because, Object[] becauseArgs)
   at Ogooreck.API.ApiSpecification.<>c__DisplayClass58_0.<RESPONSE_ETAG_HEADER>b__0(HttpResponseHeaders headers)
   at Ogooreck.API.ApiSpecification.<>c__DisplayClass60_0.<RESPONSE_HEADERS>b__0(HttpResponseMessage response, TestContext ctx)
   at Ogooreck.API.ApiSpecification.<>c__DisplayClass61_0.<<RESPONSE_ETAG_IS>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Ogooreck.API.RetryPolicy.Perform(Func`2 send, TestContext testContext, CancellationToken ct)
   at Ogooreck.API.WhenApiSpecificationBuilder.Then(IEnumerable`1 thens, CancellationToken ct)
   at Ogooreck.API.ApiSpecification`1.Scenario(Task`1 first, Func`2[] following)
--- End of stack trace from previous location ---

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