test_component
Run standalone cloud verification on code you already have: give it a component (filePath/exportName/signature) plus acceptance criteria, and it generates a black-box verification test, validates that test against a mechanical stub, then executes your REAL code against it in the cloud (isolate or container, per stack). No code generation happens here — use build_feature for that. Returns a testId immediately; call stream_test to follow progress and get the pass/fail verdict. Call get_usage_guide for detailed usage guidance.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The REAL implementation to test. Never shown to the model that generates the verification test. | |
| component | Yes | MUST match the real code exactly — the generated verification test imports/calls by these exact names. | |
| stackType | Yes | Runtime target stack (JavaScript/TypeScript only at launch), e.g. "worker", "typescript", "node", "react". | |
| contextFiles | No | Optional ambient read-only files the code under test may import. | |
| acceptanceCriteria | Yes | What the code must do — the verification test is generated from this alone. |