Kulcare Docs
DeveloperCare plansLhrTesting

Testing Documentation

Testing documentation for the Care Plan and LHR features.

Contents

DocumentDescription
manual-test-plan.mdManual testing checklist and scenarios
manual-testing-guide.mdStep-by-step testing instructions

Testing Locations

Backend Tests

  • backend/spec/ - RSpec tests
  • backend/spec/parts/care_plan/ - Care Plan module tests
  • backend/spec/parts/prescriptions/ - Prescription tests

Frontend Tests

  • frontend/apps/cms/src/**/*.test.ts - Unit tests
  • frontend/apps/cms/src/**/*.spec.ts - Component tests

Running Tests

Backend

cd backend
bundle exec rspec                    # All tests
bundle exec rspec spec/parts/care_plan/  # Care Plan tests only

Frontend

cd frontend
pnpm test                            # All tests
pnpm test --filter=cms               # CMS app tests only

Migrated from: backend/docs/04-features/longitudinal-health-records/

On this page