bowire.test.run
Runs a Bowire test collection or flow, executes every test and assertion, and reports passed and failed results; optional CSV/JSON data repeats the run per row with iteration-specific failures.
Instructions
Run a Bowire test collection or flow, as bowire test does: invoke every test, evaluate its assertions, and report what passed and failed. With data (a CSV or JSON file), the collection runs once per row, with the row's columns as variables; failures name the iteration and the source row. Runs as an MCP task for clients that declare the tasks extension (status messages report each step; tasks/cancel stops before the next step). Returns { exitCode, passed, output, errors } — exitCode 0 when everything passed, 1 when a test failed, 2 when the input was refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional: a CSV or JSON data set; the collection runs once per row. | |
| path | Yes | Path to a test collection or flow file. | |
| failFast | No | Optional, with data: stop after the first iteration that fails. | |
| junitPath | No | Optional: write a JUnit XML report here. | |
| reportPath | No | Optional: write an HTML report here. |