Testing MCP Apps with three contracts: jsdom, Playwright, and manual checks
philrox_ · x · 2026-08-18
The author outlines a three-contract testing strategy for MCP Apps, each validating different aspects:
- jsdom: Used for logic verification.
- Playwright host-sim: Tests the built bundle in a real Chromium environment.
- Manual Tests (Claude & ChatGPT): Validates host dimensions, latency, and iframe policies.
A key principle is that each layer documents what it cannot prove, creating a complementary validation system.
More from coding & agent
- Matt Pocock releases AI Coding Crash Course: Mastering Engineering Practices with Agents — mattpocockuk · 2026-08-18
- P2P Service over MCP Lets Users Query Each Other's Agents — plasticBarista · 2026-08-18
- Vibe Coding Lesson: AI Built It in 2 Weeks, One Dark-Mode Feature Took 4 Days to Refactor — dotey · 2026-08-18
- Google releases guide for migrating to latest Gemini models — rseroter · 2026-08-18
- View: Knowing computer baseline capabilities is key to AI coding — yacineMTB · 2026-08-18
- User Questions Why LLMs Default to Low-Quality Code — yacineMTB · 2026-08-18