-
Notifications
You must be signed in to change notification settings - Fork 0
Test framework
Alan B. Christie edited this page Aug 15, 2025
·
9 revisions
The engine is "Event Driven", so to test it we simply have to send events (Protocol Buffer messages) to its handle_message()
method. But, as a key element of the engine is the manipulation of database records, and the asynchronous launch of Jobs it need to run in a multiprocessing way and rely on the correct behaviour of an InstanceLauncher and Workflow API Adapter. Leading to a test framework that is a challenging environment to construct.
- The "Unit testing the WorkflowEngine" section of the Shortcut doc Workflow engine design