Skip to content

Refactor testing infrastructure to use test containers and fixtures #748

Description

@Smartdevs17

Context

Tests need isolated environments with proper fixtures.

Current Limitation

Tests share database with no fixture management.

Expected Outcome

  • Test containers for isolation
  • Fixture factories for test data
  • Snapshot testing
  • Parallel test execution

Acceptance Criteria

  • Docker test containers
  • Fixture factories for all models
  • API response snapshot testing
  • Parallel test execution
  • Test data seeding
  • Coverage reporting with thresholds
  • Flaky test detection

Technical Scope

  • jest.config.js - Test configuration
  • jest.backend.config.js - Backend test config
  • backend/tests/ - Backend tests
  • e2e/ - E2E tests

Metadata

Metadata

Labels

200-points200 point issueStellar WaveIssues in the Stellar wave programdrips-waveIssues in the Drips Wave programhighHigh complexity issue

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions