Generate HyperExecute YAML
hyperexecute_generate_yamlGenerates a HyperExecute YAML file for running tests on TestMu AI HyperExecute. It only builds text: it calls no API, starts no job and writes no file.
Required: project (language, framework) and testing (testDiscovery.command, testRunnerCommand). Everything else is optional and filled from per-framework defaults: Node 20 for JavaScript frameworks, Python 3.11, Java 17, .NET 8, Ruby 3.2, and a concurrency of 5 or 10 depending on the framework.
Languages: JavaScript/TypeScript, Python, Java, Ruby and C#. Go and PHP are refused, because the HyperExecute runtime key cannot install them. Mobile apps: set appTesting for XCUI (iOS) or Espresso (Android); the output uses the 0.2 format with runson ios or android and appId/testSuiteAppId for lt:// app ids, and the testing commands are not used. Web frameworks leave appTesting out.
Before returning, the output is checked against the rules the HyperExecute backend applies to a job (version, runson, runtime language and version, autosplit discovery and runner command, report types html, json or xml). Credential environment variables with literal values (LT_USERNAME, LT_ACCESS_KEY, *_TOKEN, *_SECRET, *_PASSWORD) are refused; reference a HyperExecute secret instead. Returns the YAML, the defaults applied, and warnings such as a reporter the test command must configure.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"testing": "<testing>"
},
"name": "hyperexecute_generate_yaml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| setup | No | Setup configuration (optional) | |
| project | Yes | Project configuration | |
| testing | Yes | Test configuration | |
| advanced | No | Extra top-level HyperExecute YAML fields merged into the output as given. The output is still checked against the HyperExecute backend rules. | |
| jobLabel | No | Labels for the job | |
| artifacts | No | Artifact configuration (optional) | |
| execution | No | Execution settings (optional) | |
| appTesting | No | Mobile app testing configuration (XCUI, Espresso or Appium). Web automation (Selenium, Playwright, Cypress, etc.) leaves it out. | |
| sourcePayload | No | Git integration: fetches the test code from a remote Git repository. Only needed when the code is not already present locally; local code (the usual case) leaves it out. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| info | No | ||
| yaml | No | ||
| warnings | No | ||
| appliedDefaults | No |