Skip to content

Unit tests for stateful actors #86

Description

@artursouza

Cover unit tests for the following scenarios for stateful actors:

Inheritance Input Type Output Type State management (CRUD operations) Exception in Actor's methods Exception in Actor's runtime Custom Serializer
No String String Yes No No No
No String String Yes No Yes No
No String String Yes Yes No No
No Class Class Yes No No No
No Class Class Yes No No Yes
Yes int int Yes No No No
Yes int int Yes No Yes No
Yes int int Yes Yes No No

Validations for all scenario (when applicable):

  • Output is as expected
  • Exception is as expected
  • State is saved as expected.
  • Methods are invoked in the Actor class: onActivate(), onDeactivate(), onPreActorMethod(), onPostActorMethod()
  • Timer is invoked()
  • Reminder is invoked()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions