Move scope creation to before bus start #174
GitHub Actions / tests
succeeded
Jan 26, 2024 in 0s
tests ✅
✅ artifacts/test-reports/Aggregates.NET.UnitTests/TestResults.trx
256 tests were completed in 6s with 256 passed, 0 failed and 0 skipped.
✅ Aggregates.Common.ChildRepository
✅ ShouldGetEntityFromGet
✅ ShouldGetEntityFromTryGet
✅ ShouldGetExceptionFromGetUnknown
✅ ShouldGetExistingEntityAgain
✅ ShouldGetExistingEntityOnNew
✅ ShouldGetNewEntity
✅ ShouldNotGetEntityFromTryGet
✅ Aggregates.Common.Entity
✅ EntityHasBucket
✅ EntityHasId
✅ EntityShouldBeClean
✅ EntityShouldBeDirty
✅ EntityShouldBeNew
✅ NewEntityShouldBeDirty
✅ ShouldFailDefinedRule
✅ ShouldPassDefinedRule
✅ Aggregates.Common.EntityFactory
✅ ShouldCreateNewEntity
✅ ShouldRejectIncorrectSnapshot
✅ ShouldUseSnapshot
✅ Aggregates.Common.Enumeration
✅ ShouldBeEqual
✅ ShouldBeNotEqual
✅ ShouldCompareToBe0ForEqualInstances
✅ ShouldCompareToNullBeGreaterThanNull
✅ ShouldCompareToUsingValue
✅ ShouldHasDisplayName
✅ ShouldHasValue
✅ ShouldParseUsingDisplayName
✅ ShouldParseUsingFromValue
✅ ShouldSortList
✅ ShouldThrowArgumentExceptionWhenBadDisplayName
✅ ShouldThrowArgumentExceptionWhenBadValue
✅ ShouldToStringBeDisplayName
✅ Aggregates.Common.EventSubscriber
✅ ConnectToProjection
✅ DoesntConnectToProjection
✅ NoEventsDoesntCreateProjection
✅ SetupCreatesProjection
✅ Aggregates.Common.Exceptions.BusinessException
✅ ShouldBeDeserializable
✅ ShouldBeSerializable
✅ ShouldConstruct
✅ ShouldContainRuleAndMessage
✅ ShouldContainRuleFailure
✅ ShouldDeserialize
✅ Aggregates.Common.Exceptions.GenericExceptions
✅ ShouldHaveEntityBucketIdAndParentsInEntityAlreadyExistsException
✅ ShouldHaveMessageAndInnerExceptionInPersistenceException
✅ ShouldHaveMessageAndInnerExceptionInVersionException
✅ ShouldHaveProjectionNameExistingAndDesiredDefinition
✅ ShouldHaveStreamAndClient
✅ Aggregates.Common.Extensions.Context
✅ ShouldProcessService
✅ ShouldProcessServiceFromFactory
✅ Aggregates.Common.Extensions.Exception
✅ ShouldSerializeAggregateExceptionToString
✅ ShouldSerializeExceptionToString
✅ ShouldSerializeInnerExceptionToString
✅ Aggregates.Common.Extensions.MethodInfo
✅ ShouldCreateFunc
✅ Aggregates.Common.Extensions.Reflection
✅ ShouldCreateChildRepositoryFactory
✅ ShouldCreateRepositoryFactory
✅ ShouldGetHandleInfoFromState
✅ ShouldGetServiceHandler
✅ ShouldNotGetPublicConflictInfoFromState
✅ ShouldNotGetPublicHandleInfoFromState
✅ Aggregates.Common.Extensions.Store
✅ ShouldCompressAndDecompressBytes
✅ ShouldConvertStringToByte
✅ Aggregates.Common.Extensions.String
✅ ShouldGetAStringHash
✅ ShouldNotTrimNumberOfLines
✅ ShouldNotTrimNumberOfLinesOnMultilineString
✅ ShouldNotTrimShortString
✅ ShouldTrimLongString
✅ ShouldTrimNumberOfLines
✅ Aggregates.Common.HostedService
✅ CallsStart
✅ CallsStop
✅ Aggregates.Common.IdTests
✅ GuidIdShouldEqualGuid
✅ IdShouldNotEqualNull
✅ LongIdShouldEqualLong
✅ NullIdShouldEqualNull
✅ NullIdValueShouldEqualNull
✅ ShouldCreateIdFromGuid
✅ ShouldCreateIdFromLong
✅ ShouldCreateIdFromString
✅ ShouldGetStringWithNullValue
✅ StringIdShouldEqualString
✅ TwoIdenticalIdsShouldEqual
✅ TwoSameIdShouldBeEqual
✅ Aggregates.Common.Repository
✅ CommitShouldNotSaveUnchangedEntities
✅ CommitShouldSaveChangedEntities
✅ PrepareShoudNotVerifyVersionOnChangedEntities
✅ PrepareShouldVerifyVersionOnUnchangedEntities
✅ ShouldGetEntityFromGet
✅ ShouldGetEntityFromTryGet
✅ ShouldGetEntityFromTryGetWithNullId
✅ ShouldGetExceptionFromGetUnknown
✅ ShouldGetExistingEntityAgain
✅ ShouldGetExistingEntityOnNew
✅ ShouldGetNewEntity
✅ ShouldHaveChangedStreams
✅ ShouldHaveNoChangedStreams
✅ ShouldNotGetEntityFromTryGet
✅ Aggregates.Common.Settings
✅ GettingUnitOfWorkScopeException
✅ ProxyUowAppUnitOfWorks
✅ ShouldBuildDefaultConfiguration
✅ ShouldCallRegistrationTasks
✅ ShouldNotBeSetupAfterRegistrationException
✅ ShouldRequireContainerDefinition
✅ ShouldSetOptions
✅ ShouldUseMetrics
✅ ThrowsWhenDoesntImplementBaseUnitOfWork
✅ ThrowsWhenNoUnitOfWork
✅ UseApplicationUow
✅ UseDomainUow
✅ Aggregates.Common.State
✅ ShouldRejectInvalidSnapshot
✅ ShouldRestoreFromEvents
✅ ShouldRestoreFromSnapshot
✅ Aggregates.Common.StoreEntities
✅ ShouldCommitDomainEvents
✅ ShouldCommitSnapshot
✅ ShouldCreateChildEntity
✅ ShouldCreateNewEntity
✅ ShouldGetChildEntity
✅ ShouldGetEntityNoSnapshot
✅ ShouldGetEntityWithSnapshot
✅ ShouldGetEventStreamFromSnapshotVersionOn
✅ ShouldNotCommitCleanEntity
✅ ShouldNotThrowOnSnapshotFailure
✅ ShouldNotVerifyDirtyEntity
✅ ShouldNotVerifyNewEntity
✅ ShouldThrowEntityAlreadyExistsException
✅ ShouldThrowPersistenceException
✅ ShouldVerifyVersion
✅ Aggregates.Common.StoreSnapshots
✅ ShouldGetSnapshotFromEventStore
✅ ShouldWriteSnapshot
✅ Aggregates.Common.TrackChildren
✅ CallingSetupNotEnabledDoesNotCreateProjection
✅ GetChildrenHasChildrenDifferentType
✅ GetChildrenHasChildrenNull
✅ GetChildrenReturnsNull
✅ GetChildrenWithChildren
✅ NotEnabledThrows
✅ NotSetupThrows
✅ SetupCallsProjectionCreation
✅ Aggregates.Common.UnitOfWork
✅ ShouldCommitOnEnd
✅ ShouldCreateRepository
✅ ShouldCreateSameRepository
✅ ShouldDisposeAllRepositories
✅ ShouldNotCommitIfNoCommitId
✅ ShouldNotCommitOnEndWithException
✅ ShouldNotCommitWhenProcessingAnEvent
✅ ShouldPrepareAllRepositoriesWhenMultipleChangedStreams
✅ Aggregates.Common.VersionRegistrar
✅ DuplicateTypesThrow
✅ GetNamedTypeWrongFormat
✅ GetNonesitantType
✅ GetNonLoadedType
✅ GetTypeNoVersion
✅ GetTypeOldVersion
✅ GetTypeWrongVersion
✅ LoadTwiceTypeIsFine
✅ LoadTypeIsLoaded
✅ NonVersionedWorks
✅ TwiceLoadedIsFine
✅ Aggregates.EventStore.EventStoreConsumer
✅ SetupChildrenProjection
✅ SetupProjectionAllEvents
✅ SetupProjectionNoEvents
✅ SetupProjectionWithEvents
✅ Aggregates.EventStore.StoreEvents
✅ SnapshotReadsLast
✅ SnapshotStreamDoesntExist
✅ Aggregates.NServiceBus.CommandAcceptor
✅ ShouldNotAcceptIfNoResponseRequested
✅ ShouldProcessEvent
✅ ShouldRejectCommand
✅ ShouldReplyToCommand
✅ ShouldStillRejectifNoResponseRequested
✅ Aggregates.NServiceBus.FailureReply
✅ MessageFailed
✅ MessageFailedAlreadyHandled
✅ MessageFailedNoReplyRequested
✅ MessageFailedWasNotSend
✅ ShouldProcessMessage
✅ Aggregates.NServiceBus.MessageDetyper
✅ FailToGetMessageType
✅ InvalidMultipleMessageType
✅ MultipleMessageTypesHandled
✅ NoEnclosedMessageType
✅ NoVersionedName
✅ ReplacedMessageTypeWithVersioned
✅ Aggregates.NServiceBus.MessageIdentifier
✅ NoEnclosedMessageType
✅ NoMappedType
✅ TranslateEnclosedType
✅ Aggregates.NServiceBus.MutateIncoming
✅ ShouldMutateMessage
✅ ShouldNotMutateReplies
✅ Aggregates.NServiceBus.MutateOutgoing
✅ ShouldMutateMessage
✅ ShouldNotMutateReplies
✅ Aggregates.NServiceBus.NSBUnitOfWork
✅ ShouldAddWorkingHeadersToOutgoing
✅ ShouldGetCommitIdFromMessageId
✅ ShouldGetCommitIdFromNServiceBusMessageId
✅ ShouldPopulateCurrentMessageAndHeaders
✅ ShouldWriteOutgoingHeaders
✅ Aggregates.NServiceBus.SagaBehavior
✅ AcceptReplaced
✅ NoSagaHeader
✅ RejectReplaced
✅ Aggregates.Testing.TestableContext.EventChecker
✅ ChildRaisedEventNotRaisedInParent
✅ DidntRaisedEventType
✅ EntityIsChanged
✅ EntityRaisedEvent
✅ EntityRemainsUnchanged
✅ EntityWithEventsRemainsUnchanged
✅ HasEventsDoesntCountAsRaised
✅ MultipleRaisedEventsDifferentContent
✅ ParentRemainsUnchangedWhenChildIs
✅ RaisedEventType
✅ RaisedEventWithAssert
✅ RaisedEventWithAssertFails
✅ RaisesDifferentTypeButSameData
✅ RaisesSpecificEvent
✅ RaisesSpecificEventInChildTestableId
✅ RaisesSpecificEventTestableId
✅ Aggregates.Testing.TestableContext.EventPlanner
✅ DoesntRaiseEvent
✅ EntityDoesntExists
✅ EntityExists
✅ EntityHasEvents
✅ EntityHasMultipleEvents
✅ EntityHasNoSnapshot
✅ EntityHasSnapshot
✅ EntityWithAChild
✅ EntityWithAChildDoesntRaiseEvent
✅ EntityWithAChildEntityDoesntExists
✅ EntityWithAChildEntityExists
✅ EntityWithAChildEntityHasEvents
✅ EntityWithAChildEntityHasMultipleEvents
✅ EntityWithAChildEntityHasNoSnapshot
✅ EntityWithAChildEntityHasSnapshot
✅ EntityWithAChildNewEntityShouldBeVersionNegOne
✅ NewEntityShouldBeVersionNegOne
✅ RaisedContainsContent
✅ RaisedContainsContentForChild
✅ RaisesEvent
✅ RaisesEventUsingTestableId
✅ Aggregates.Testing.TestableContext.ModelChecker
✅ CreateModel
✅ CreateModelCheckContent
✅ CreateModelCheckContentFails
✅ CreateModelCheckExactObject
✅ CreateModelCheckExactObjectFails
✅ CreateModelWrongId
✅ DeleteModel
✅ DeleteModelThatDoesntExistIsOk
✅ DeleteModelWrongId
✅ ReadModel
✅ ReadModelDoesntExist
✅ ReadModelWrongId
✅ UpdateModel
✅ UpdateModelCheckWrongId
✅ UpdateModelDoesntExist
✅ UpdateModelIsUpdated
✅ UpdateModelIsUpdatedFailAssert
✅ UpdateModelIsUpdatedFailAssertWrongId
✅ UpdateModelIsUpdatedWrongCheck
✅ UpdateModelIsUpdatedWrongId
✅ UpdateModelWrongId
✅ Aggregates.Testing.TestableContext.ServiceChecker
✅ CallService
✅ CallServiceNotPlanned
✅ WasntRequested
✅ Aggregates.Testing.TestableId
✅ TwoAnyIdEqual
✅ TwoIntKeysDifferent
✅ TwoSameIntSameId
✅ TwoSameStringsSameId
✅ TwoStringKeysDifferent
Loading