Skip to content

Latest commit

 

History

History
88 lines (79 loc) · 4.34 KB

set-0-basic-process-information.md

File metadata and controls

88 lines (79 loc) · 4.34 KB

BPMN Comformance Set 0

These scenarios tests basic processes constructs such as BPMN Start/End events and the events generated by these elements should be tested. It also test the behaviour of a Base Tasks with no configuration. You can find the source code for these comformance tests here.

  • Process Information
    • The source code for this test can be found here.
    • Check that the process instance is COMPLETED (status) after start
    • Check that the process instance information is correctly propagated
      • businessKey
      • name
    • Start Process Operation
      • PROCESS_CREATED
      • PROCESS_STARTED
      • ACTIVITY_STARTED
      • ACTIVITY_COMPLETED
      • SEQUENCE_FLOW_TAKEN
      • ACTIVITY_STARTED
      • ACTIVITY_COMPLETED
      • PROCESS_COMPLETED
    • Start Process Operation
      • Add one process Variable
      • PROCESS_CREATED
      • VARIABLE_CREATED
      • PROCESS_STARTED
      • ACTIVITY_STARTED
      • ACTIVITY_COMPLETED
      • SEQUENCE_FLOW_TAKEN
      • ACTIVITY_STARTED
      • ACTIVITY_COMPLETED
      • PROCESS_COMPLETED

  • Process with Generic Task
    • The source code of this test can be found here
    • Check that the process instance is COMPLETED (status) after start, BPMN Generic task doesn’t have any associated behaviour so the task is automatically completed by the engine
    • Check that the process instance information is correctly propagated
      • businessKey
      • Name
    • Start Process Operation
      • PROCESS_CREATED
      • PROCESS_STARTED,
      • ACTIVITY_STARTED,
      • ACTIVITY_COMPLETED,
      • SEQUENCE_FLOW_TAKEN,
      • ACTIVITY_STARTED,
      • ACTIVITY_COMPLETED,
      • SEQUENCE_FLOW_TAKEN,
      • ACTIVITY_STARTED,
      • ACTIVITY_COMPLETED,
      • PROCESS_COMPLETED

  • Process Instance Delete
    • The source code of this test can be found here
    • Start a process instance with a wait/safe state such as a UserTask
    • We will need to check for process events only, Task Events should be validated in Set 2
      • Start Process Operation
        • PROCESS_CREATED
        • PROCESS_STARTED
        • ACTIVITY_STARTED,
        • ACTIVITY_COMPLETED,
        • SEQUENCE_FLOW_TAKEN,
        • ACTIVITY_STARTED
      • Delete Process Operator
        • ACTIVITY_CANCELLED,
        • PROCESS_CANCELLED
    • After delete, we shouldn’t be able to find the process instance