Unit Tests

Some processors implement custom logic that can be unit tested independently of a flow. This allows you to test the processor’s functionality in isolation without needing to spin up a local flow server and deploy flows to it. This approach is beneficial because it enables you to focus solely on the processor’s logic, eliminating potential interference from the flow’s configuration or the server’s state.

The SDK includes utilities to streamline unit testing for specific processors. Currently, these utilities are available for:

  • Map Processor, refer to the testing section in the map processor documentation for details.

  • Dynamic Tables, the testing guide provides instructions for unit testing dynamic tables.