Testing

Testing documentation, coverage reports, and quality assessments for the Momentum platform.

Testing Strategy

The Momentum platform uses a comprehensive testing approach:

  • Unit Tests: Jest + React Testing Library (target: 80% coverage)
  • Integration Tests: Lambda handlers with local PostgreSQL
  • E2E Tests: Playwright for critical user flows
  • API Tests: Postman collections for endpoint validation

Running Tests

# Run all tests
npm test

# Run with coverage
npm run test:coverage

# Run specific test file
npm test -- path/to/test.test.ts

# Run Playwright E2E tests
npm run test:e2e

Documentation Sections

Overview & Guides

Playwright E2E

Service Tests

Lambda Tests

Feature Tests


Back to top

Momentum LMS © 2025. Distributed under the MIT license.