TWD (Test While Developing) icon
TWD (Test While Developing) icon

TWD (Test While Developing)

 1 like

In-browser testing for Vite apps: run tests inside your real dev app, with API mocks validated against your OpenAPI spec.

TWD sidebar with test execution

Cost / License

  • Free
  • Open Source (MIT)

Since

  • Since 2025 (updated Dec 2026)

GitHub

  • GitHub stars: 69

Platforms

  • Self-Hosted
1like
0articles
Save
Highlights All activities

TWD (Test While Developing) News & Activities

Recent activities

No activities found.

TWD (Test While Developing) information

AlternativeTo Category

Development

GitHub repository

  •  69 Stars
  •  4 Forks
  •  2 Open Issues
  •   Updated  
View on GitHub
TWD (Test While Developing) was added to AlternativeTo by kevin-martinez-ccbsg on and this page was last updated .

No comments or reviews, maybe you want to be first?

Official Links

What is TWD (Test While Developing)?

TWD (Test While Developing) brings testing into the app you are already building. A sidebar in your Vite dev server runs component and flow tests against your real app: the same DOM, routes and state, in the browser you develop in.

Test what you own. Mock what you don't.

  • Real-browser tests while you code: write a test, watch it run in your app, fix and re-run without leaving the page.
  • Frontend contract testing: API calls are mocked with twd.mockRequest() through a service worker, and twd-cli validates every mock against your OpenAPI spec, so contract drift is caught before you merge.
  • Headless in CI: the same tests run in your pipeline with twd-cli and report results and contract checks on each pull request.
  • Video per test on pull requests: add the "record" label and reviewers get a clip of every new test running.
  • AI-agent ready: your coding agent can set TWD up, write the tests, run them and fix failures in the same loop.

Works with React, Vue, Angular, Solid and vanilla JS. It complements Vitest and Playwright rather than replacing them.

Open source under the MIT license. Docs and live demo at https://twd.dev