* using real EventSourcedBehaviorImpl * using new inmem journal (PersistenceTestKit) * advantages compared to a "fake" driver * no difference in implementation details from real thing * no limitations * less maintance * added internal messsages to EventSourcedBehaviorImpl to be able to grab state and persistenceId * GetState as InternalProtocol instead of Signal so that it is stashed * serialization checks, using SerializationTestKit * better testKitGuardian naming to allow multiple PersistenceTestKit * support testing of restart * support failure testing by using PersistenceTestKit * update doc sample * apidoc, reference docs, and javadsl
This commit is contained in:
parent
a910bee99f
commit
ef79738373
21 changed files with 1254 additions and 235 deletions
|
|
@ -281,6 +281,7 @@ lazy val persistenceTestkit = akkaModule("akka-persistence-testkit")
|
|||
.dependsOn(
|
||||
persistenceTyped % "compile->compile;provided->provided;test->test",
|
||||
testkit % "compile->compile;test->test",
|
||||
actorTestkitTyped,
|
||||
persistenceTck % "test")
|
||||
.settings(Dependencies.persistenceTestKit)
|
||||
.settings(AutomaticModuleName.settings("akka.persistence.testkit"))
|
||||
|
|
@ -450,6 +451,7 @@ lazy val clusterShardingTyped = akkaModule("akka-cluster-sharding-typed")
|
|||
actorTestkitTyped % "test->test",
|
||||
actorTypedTests % "test->test",
|
||||
persistenceTyped % "test->test",
|
||||
persistenceTestkit % "test->test",
|
||||
remote % "compile->CompileJdk9;test->test",
|
||||
remoteTests % "test->test",
|
||||
remoteTests % "test->test;multi-jvm->multi-jvm",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue