run-tests
Run AL tests in a Business Central Docker container, targeting all tests, a specific codeunit, or compile and run from a project folder.
Instructions
Run AL tests in a BC container. Can run all tests, a specific codeunit, or compile-and-run from a project folder.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run-tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| containerName | No | Target container name | bcsandbox |
| testCodeunitId | No | Specific test codeunit ID (omit for all) | |
| testFunctionName | No | Specific test function name | |
| appProjectFolder | No | AL test project folder to compile/publish/run | |
| userName | No | Admin username | admin |
| password | No | Admin password | P@ssw0rd! |