It appears on the home page and opens for votes when its launch week starts.

TWD (Test While Developing)
In-browser testing for Vite apps
FreeCodeTestingOpen Source2 impressionslaunches Dec 81 comment
Comments
>log in to comment
Hi, we're the team behind TWD. We built TWD to let you test your frontend inside the app you're already running, with no separate test window. While you develop, a sidebar in your Vite dev server runs component and flow tests against your real DOM, routes and state. But it's not just a sidebar. twd-cli runs the same tests headlessly in CI, validates every API mock against your OpenAPI spec so contract drift gets caught before merge, and can record a video of the run for PR review. Your AI agent can also set TWD up and write the first tests for you. It complements Vitest and Playwright rather than replacing them. We'd love to hear how you test your frontend today and where it hurts.
More Code tools →83 free dev tools →
In-browser testing for Vite apps that runs component and flow tests in your dev server with AI-assisted test generation.
- for
- Frontend developers using Vite (or similar) who want fast, deterministic tests while coding.
- pricing
- free
Key features
- Sidebar test runner — Runs component and flow tests directly in the dev server sidebar against the real app.
- AI-generated tests — AI agents can set up TWD and write initial tests, then iteratively fix failures.
- OpenAPI mock validation — All API mocks are validated against your OpenAPI spec to catch contract drift.
- Headless CI execution — Tests run headlessly with twd-cli in CI and return structured summaries.
- Record label CI job — GitHub Action records video clips of test runs per PR for quick visual review.
- Framework agnostic — Supports React, Vue, Angular, Solid, Astro, Nuxt, HTMX, vanilla JS on Vite, Webpack or CDN.
Use cases
- Write and run UI tests while developing a Vite app without opening a second browser
- Generate initial test suites with an AI agent and let it auto-fix failures
- Validate API mocks against an OpenAPI spec before merging PRs
- Record short video clips of UI tests for PR reviews
TWD (Test While Developing) vs alternatives
TWD (Test While Developing) | Vitest | Jest | |||
|---|---|---|---|---|---|
| Best for | In-browser component testing with AI assistance | Fast unit testing with Vite | Browser end-to-end testing | General JavaScript testing | Isolated component development and documentation |
| Pricing | Free | Free | Free | Free | Free |
| DevHunt upvotes | 1 | 0 | 0 | 0 | 0 |
| Launched | Dec 2026 | — | — | — | — |
- TWD (Test While Developing) vs Vitest: Vitest is a unit-testing framework; TWD adds in-browser UI testing with AI and a sidebar UI.
- TWD (Test While Developing) vs Cypress: Cypress runs full browser end-to-end tests; TWD focuses on component/flow tests inside the dev server with mock validation.
- TWD (Test While Developing) vs Jest: Jest is a general JavaScript test runner; TWD provides UI-focused testing, AI assistance, and real-app execution.
- TWD (Test While Developing) vs Storybook: Storybook isolates components for visual testing; TWD runs tests against the live app with real routing and state.
TWD (Test While Developing) FAQ
What does TWD cost?+
TWD is MIT-licensed and free for individuals and companies; there are no paid features or usage limits.
How does TWD differ from Playwright or Cypress?+
TWD validates UI logic with mocked boundaries inside your dev server for fast feedback, while Playwright/Cypress run full end-to-end tests across the whole system.
Can I keep my existing Vitest tests?+
Yes, you can keep Vitest tests; TWD adds a sidebar and mocking layer for component tests that need real app context.
Does TWD replace Testing Library?+
No, TWD uses Testing Library under the hood and provides a scoped wrapper (screenDom) plus the runner and sidebar.
What frameworks are supported?+
Any frontend that runs in the browser, including React, Vue, Angular, Solid, Astro, Nuxt, HTMX and vanilla JS, on Vite, Webpack or no bundler.
How does the record label work?+
A GitHub Action records a short video per test when a PR gets a record label, uploads the clips as an artifact, and links them in a comment.
Summarized by DevHunt from twd.dev · Dec 3, 2026. Details may change; check the official site.
More Code tools
Alternatives: Finnhub Stock APIs alternatives · Free Stock Market Data API for… alternatives
Makers: @johnrush · @user_cc08d0
Also popular in Code: Nexity, shadcn/pro, Velin AI: Pass your next Interview
All Code tools
TWD (Test While Developing)
Vitest
Jest







