pio_test
Run PlatformIO unit tests and receive per-case pass/fail results with file, line, and message details. Supports filter and ignore glob patterns for targeted test execution.
Instructions
Run PlatformIO unit tests (pio test, Unity framework) and return per-case pass/fail with file, line, and message. Tests live in test/test_/. Native envs run on the host; embedded envs build, flash, and read results over serial (set without_uploading=true to only build them). filter/ignore take glob patterns like 'test_math*'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| filter | No | ||
| ignore | No | ||
| verbose | No | ||
| project_dir | No | ||
| upload_port | No | ||
| without_building | No | ||
| without_uploading | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||