Synaptic.TestRunner (synaptic v0.2.7)

View Source

Main test runner module for executing Synaptic workflows from YAML test definitions.

This module orchestrates workflow execution, waiting for completion, handling human input, and validating expectations.

Summary

Functions

Formats and displays test results.

Runs a test from a test definition map.

Runs a test from a YAML file path.

Functions

display_results(test_name, result, format \\ :both)

Formats and displays test results.

run_test(test_definition, opts \\ [])

Runs a test from a test definition map.

Returns {:ok, result} or {:error, reason}.

run_test_file(file_path, opts \\ [])

Runs a test from a YAML file path.

Returns {:ok, result} or {:error, reason}.