Skip to content

[camunda-mockito] Provide possibility to register embedded subprocess mocks #231

@jangalinski

Description

@jangalinski

(Kopie von camunda-community-hub/camunda-platform-7-mockito#42)\nOriginal: https://github.com/camunda-community-hub/camunda-platform-7-mockito/issues/42\n\n---\n\nRequirement: When Testing a process with an embedded subprocess, it should be possible to perform the test without defining delegates of the subprocess. The subprocess should get mocked and just return an pre defined return value.

Acceptance criteria/MVP:

  • Provide possibility to register embedded subprocess mocks and define its output.
  • It should also be possible to verify if the embedded subprocess was executed.
  • the sub-process has to be cleaned up after the test ran (managed by the ProcessEngineRule)

Additional behaviours:

  • Process may be started synchroniously/asynchroniously
  • Run into an Error
  • Send a message
  • Wait for a message receive
  • Wait for a timer

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