Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python
561 B
Raw Blame

test "detect: graff's own view and MCP app snapshots" {
    const html = detect("[Rendered view](/home/u/.graff/views/" ++ hex ++ ".html) — shown").?;
    try testing.expectEqualStrings("html", html.kind);
    try testing.expectEqualStrings("/home/u/.graff/views/" ++ hex ++ ".html", html.path);
    try testing.expectEqualStrings(hex, html.id);
    const app = detect("[MCP app](C:\\Users\\u/.graff/mcp-apps/" ++ hex ++ ".html) — saved\nrest").?;
    try testing.expectEqualStrings("mcp_app", app.kind);
    try testing.expectEqualStrings(hex, app.id);
}