Skip to content

Entity testing with EventSourcedBehaviorTestKit #182

Open
@ptrdom

Description

@ptrdom

Would it be beneficial to refactor test example https://github.com/lagom/lagom-samples/blob/1.6.x/shopping-cart/shopping-cart-scala/shopping-cart/src/test/scala/com/example/shoppingcart/impl/ShoppingCartEntitySpec.scala to use EventSourcedBehaviorTestKit described in https://doc.akka.io/docs/akka/current/typed/persistence-testing.html? API is very similar to Lagom's PersistentEntityTestDriver and actually tests serialization, unlike current test example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions