Skip to content

Add helper for generating stable test database fixtures from seed values #396

@Chucks1093

Description

@Chucks1093

Summary
Test fixtures that use randomized data produce non-deterministic results that are hard to debug when tests fail. A fixture helper that generates stable, deterministic creator records from a seed value makes failures reproducible and easier to investigate.

Scope

  • add a helper that generates a creator fixture record with deterministic field values derived from a seed integer
  • use the helper in at least two existing tests that currently use randomized or inline fixtures
  • document the mapping from seed to generated field values

Acceptance Criteria

  • the same seed value always produces the same fixture record
  • different seed values produce distinct records
  • at least two existing tests are updated to use the helper

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

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