Goes live December 8, 2026

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

TWD (Test While Developing)

TWD (Test While Developing)

In-browser testing for Vite apps

FreeCodeTestingOpen Source2 impressionslaunches Dec 81 comment

Comments

>log in to comment
  • Kevin Julián Martínez Escobar[maker]· 3h ago

    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.

In-browser testing for Vite apps. A sidebar in your dev server runs component and flow tests against your real app: the same DOM, routes and state you are building. Works with React, Vue, Angular, Solid and vanilla JS. Every API mock is validated against your OpenAPI spec with twd-cli, so contract drift is caught before you merge. The same tests run headlessly in CI, and your AI agent can set TWD up and write the first tests for you. Open source under the MIT license.

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
works withReactVueAngularSolidAstroNuxtHTMXVanilla JSViteWebpackCDNClaudeCursorCopilot

Key features

6 features of TWD (Test While Developing)
  • 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)VitestCypressJestStorybook
Best forIn-browser component testing with AI assistanceFast unit testing with ViteBrowser end-to-end testingGeneral JavaScript testingIsolated component development and documentation
PricingFreeFreeFreeFreeFree
DevHunt upvotes10000
LaunchedDec 2026————

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.