Test your app
Run the conformance test suite with @agentapps/testing.
Test your app
Use @agentapps/testing to validate your app before publishing.
Create a test harness
import { createTestHarness } from "@agentapps/testing";
const harness = createTestHarness({
app: "./dist/index.js",
});Run conformance tests
await runConformanceTests(harness);Conformance suite
The conformance suite verifies:
- initialize — app starts and reports its manifest correctly
- list_tools — all registered tools are discoverable with correct schemas
- health_check — health endpoint returns valid status
- tool_call — tools can be called and return valid results
- cancel — in-progress tool calls can be cancelled via AbortSignal
Next steps
- Validate & package — validate and pack your app
- Publish — distribute your app