Skip to main content
This feature is actively being developed and will change before release.
For automated testing in CI/CD pipelines, Streemlined supports declarative test definitions using YAML. Define test scenarios with input messages and expected outputs to validate your pipeline logic automatically.

Test File Structure

Create a tests.yaml file with your test definitions:
tests.yaml
Then reference this test file in your application.yml:

Test Steps

Each test consists of sequential steps. Two step types are available:

Send Step

Pushes a message to an input node (source stub):

Assert Step

Validates the output at a specific node:
For branch nodes, you can assert which output was taken:

Running Tests

Tests are automatically executed when Streemlined starts if the tests.run configuration is enabled. Configure the test file location and execution options in application.yml or via environment variables.

From the Command Line

In CI/CD

Add Streemlined tests to your CI pipeline by configuring test execution:

Test Output

Assertion Options

Tests run in isolation. Each test starts with a fresh pipeline state, so tests don’t affect each other.

Best Practices

Use Interactive Testing to build and debug your transformations interactively. Once you’re confident in the logic, codify the scenarios as CI/CD tests in your tests.yaml file.
Include tests for:
  • Empty arrays and null values
  • Missing optional fields
  • Boundary conditions (e.g., exactly at threshold values)
  • Invalid data that should be rejected
Each test should verify one specific behavior. This makes failures easier to diagnose and tests more maintainable.
Name tests to describe the scenario being tested: “High-value orders route to priority queue” is better than “Test 1”.

Next Steps

Interactive Testing

Test pipelines interactively during development

Deploy Pipelines

Deploy your tested pipeline to production