Skip to content

Add docs for contributor guide on writing integration tests for new endpoints #462

Description

@Chucks1093

Summary

New contributors adding endpoints often skip integration tests because there is no documented pattern showing how the test setup, database seeding, and request execution work together in this codebase.

Scope

  • Document the integration test folder structure and naming convention
  • Show how to seed the database with test fixtures for a given test
  • Include a minimal worked example of a complete integration test for a GET endpoint
  • Note how to run just the integration tests locally

Acceptance Criteria

  • Folder structure and naming convention are documented
  • Database seeding pattern is explained with an example
  • Worked example covers a full integration test from setup to assertion
  • Local test run command is documented

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions