Run VBA tests
xlide_run_testsRun VBA Test* procedures in an Office file; each test runs alone, so timeouts don't block others. Get pass/fail with assertion message, failing line, call stack, and output.
Instructions
Runs the VBA tests in an Office file: every zero-argument procedure whose name starts with Test. Windows only, with the application installed. Each test is run on its own, so one that hangs is reported as a timeout and the rest still run. Returns pass or fail per test with the assertion message, failing line, call stack and any logged output. Use PyVbaAssert and PyVbaAssertEqual in the tests; the harness supplies them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Seconds allowed for each test. | |
| file_path | Yes | Absolute path to the Office file. | |
| module_name | No | Run only this module's tests. Empty runs every module's. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||