Skip to content

Testing and Quality

willianpm edited this page Mar 14, 2026 · 1 revision

Testing and Quality

Test Commands

npm test
npm run test:watch
npm run test:coverage
npm run test:ci
npm run test:dashboard
npm run test:automation
npm run test:full

Test Layers

Unit and integration structure:

  • tests/unit: command and utility unit tests
  • tests/integration: integration tests
  • dashboard/tests: dashboard API integration tests
  • dashboard/services and dashboard/controllers: focused unit tests
  • test-bot: full automated bot flow tests against staging

Coverage and CI

Primary CI workflow executes tests from .github/workflows/test.yml.

Local quality gates:

npm run lint
npm run format:check

Recommended Validation Sequence Before PR

  1. npm test
  2. npm run test:dashboard
  3. npm run lint
  4. npm run format:check

Clone this wiki locally