Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1002 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 1002 Bytes

Examples

This module contains examples on how to use the assertions to test processes.

Example: Pull Request Process

This example demonstrates how to ...

  • Annotate a unit tests
  • Deploy processes to the test engine
  • Control process execution
  • Protect tests from flakiness caused by asynchronous processing in the engine
  • Manipulate the time of the engine to trigger timer events
  • Assert that deployment was successful
  • Assert a certain path was taken / not taken
  • Assert state of process instance variables
  • Navigate from the main process to spawned child process

Processes

The example is based on the following process: Pull Request Created Process

Source

Which calls a subprocess Automated tests:

Automated Tests Process

Source

Tests

Source