run_tests
Execute test suites for workspace languages with language-specific commands, returning structured results including failure locations for direct navigation in code editors.
Instructions
Run the test suite for the detected workspace language. Language-specific dispatch: go test -json ./..., cargo test --message-format=json, pytest --tb=json, npm test. Optional path param narrows scope. Test failure locations are LSP-normalized — paste directly into go_to_definition. Returns: { passed: bool, failures: [{file, line, test_name, message, location}], raw: string }. Does not require start_lsp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_dir | Yes | ||
| path | No | ||
| language | No |