bazel_test_target
Execute Bazel tests for specified targets by providing a list of test paths and optional command-line arguments. Simplifies testing in environments without direct Bazel access.
Instructions
Run Bazel tests for specified targets
Input Schema
Name | Required | Description | Default |
---|---|---|---|
additionalArgs | No | Additional Bazel command line arguments (e.g. ['--cache_test_results=no', '--test_output=all']) | |
targets | Yes | List of Bazel test targets to run (e.g. ['//path/to:test']) |
Input Schema (JSON Schema)
{
"properties": {
"additionalArgs": {
"description": "Additional Bazel command line arguments (e.g. ['--cache_test_results=no', '--test_output=all'])",
"items": {
"type": "string"
},
"type": "array"
},
"targets": {
"description": "List of Bazel test targets to run (e.g. ['//path/to:test'])",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"targets"
],
"type": "object"
}