OpenCodeHub uses Vitest for unit testing and Playwright for end-to-end testing.
bun test
# or
npm testThis runs all tests located in src/**/*.test.ts.
npx playwright testWe encourage TDD. When adding a new feature:
- Create a
feature.test.tsfile. - Write a failing test case.
- Implement the feature.
- Verify the test passes.