Skip to content

Asserting if a particular event was persisted by a persistent actor #6158

Answered by bauersystems
wmeints asked this question in Q&A
Discussion options

You must be logged in to vote

I'm sure someone that knows for sure can verify this, but I believe the TestKit has its own version of the ActorSystem that is just for testing. My understanding is that the TestKit is designed to test the logic/behaviour of your actor's code, not the underlying code of the persistent layer. The persistent layer has it's own testing included in it's codebase.

Out of curiosity, why do you want to test the persistence later in your unit tests?

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
7 replies
@bauersystems
Comment options

@wmeints
Comment options

@bauersystems
Comment options

@bauersystems
Comment options

@bauersystems
Comment options

Answer selected by wmeints
Comment options

You must be logged in to vote
1 reply
@wmeints
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants