Files
data-formulator/tests
2026-08-06 13:48:38 -07:00
..
2026-08-06 13:48:38 -07:00
2026-07-14 18:53:46 -07:00
…
2026-05-26 23:10:05 -07:00

Tests

The test tree is organized with a clear backend/frontend split:

  • tests/backend
    • backend unit tests, integration tests, and contract tests
    • driven by pytest
    • regression tests directly related to py-src/data_formulator/**
  • tests/frontend
    • frontend unit tests powered by Vitest + @testing-library/react (jsdom)
    • covers pure functions, Redux selectors, and React component rendering
    • see tests/frontend/README.md for directory layout details

Suggested Commands

Run backend tests (pytest):

pytest tests/backend

Run frontend tests (Vitest):

npm test

Run frontend tests in watch mode:

npm run test:watch