lupa_init
Initialize a project with Lupa testing framework scaffolding, using non-interactive execution to avoid prompts.
Instructions
Initializes lupa testing framework in a project with default scaffolding, avoiding interactive prompts. MUST be used INSTEAD of running npx lupa init via terminal to ensure non-interactive execution and correct default arguments.
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": {
"projectPath": "<projectPath>"
},
"name": "lupa_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the project root where lupa should be initialized | |
| config | No | Path to the test configuration file (default: lupa.config.ts or .js) | |
| useTypeScript | No | Use TypeScript configuration and templates (default: true) | |
| testDir | No | Directory where test files will be located (default: tests) | |
| suites | No | List of suite names to create (default: unit, browser) | |
| reporters | No | List of reporters to use (default: dot) |