tests.do
Test Everywhere, Deploy with Confidence
Edge-native testing with automatic test generation, production parity, and time-travel debugging. Run unit, integration, and E2E tests at 300+ edge locations with <100ms feedback and full type safety.
import { Tests } from 'tests.do' // Edge-native tests with AI generationTests.describe('Payment Processing', () => { Tests.it('processes payments end-to-end', async () => { const payment = await Tests.edge.request('/api/payments', { method: 'POST', body: { amount: 100, token: 'tok_test' } }) Tests.expect(payment.status).toBe('success') })})
Frequently asked questions
Tests.do provides first-class TypeScript support with comprehensive types, JSDoc documentation, and IDE autocomplete. Works seamlessly with Vitest, Jest, Mocha, and other popular test frameworks. JavaScript, Bun, Node.js, Deno, and Cloudflare Workers all supported out of the box. React Testing Library, Playwright, Cypress integrations for E2E testing. Support for Go, Rust, and Python testing frameworks coming soon with the same level of edge-native execution.
Real-time test execution with distributed tracing, error tracking, and full state capture built-in. Time-travel debugging lets you replay any test execution locally with full variable inspection—set breakpoints, step through code, and inspect state as if running the test yourself. Export production test runs with automatic PII redaction. Visual diff tools for UI tests show pixel-perfect comparisons. AI suggests fixes based on failure patterns and similar resolved issues.
Yes. Full local test environment with instant hot reload (<100ms), production parity, and no mocks required. Tests run against local edge runtime that mirrors production exactly—same APIs, same performance characteristics, same edge behavior. Integration tests use isolated edge environments with production data snapshots. Deploy with confidence knowing tests validate actual production behavior, not mocked approximations.
Native GitHub Actions, GitLab CI, CircleCI, Jenkins, and other CI/CD platforms. Automatic test parallelization across 300+ edge locations for <10s test suite execution. Tests run in isolation with automatic cleanup. Staging deployments with preview environments for every PR. Type checking and linting enforced pre-deploy. Flaky test detection with automatic retries and quarantine. Test insights dashboard shows trends, coverage, and performance over time.
Yes. AI automatically generates comprehensive test suites from code changes including unit tests, integration tests, edge cases, and error scenarios. Agents identify untested code paths, suggest missing assertions, and refactor brittle tests for maintainability. Tests are semantic objects—agents understand intent and update tests when business logic changes. Coverage reports highlight risky areas and suggest high-value tests to write. Mutation testing validates test quality automatically.