Skip to main content

fixtures

Regenerate golden snapshot and expected-diff fixtures after a collector schema or fixture-generator change. Use when integration tests fail on Fixtures/ or after changing snapshot encoding.

Jump to install

Source facts

Repository
hoangsonww/Diffuse-Native-Apps
Last source activity
August 20, 2026 at 04:16
Detected SKILL.md language
English
Stars
2
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
fixtures
description
Regenerate golden snapshot and expected-diff fixtures after a collector schema or fixture-generator change. Use when integration tests fail on Fixtures/ or after changing snapshot encoding.
# Golden fixtures `Fixtures/` is the contract `Tests/Integration` asserts against. ```bash ./Scripts/generate-fixtures.sh ``` Then **read the resulting diff**. Do not commit a fixture change you cannot explain. Do not weaken an expected diff to make a test pass. ```bash swift test --parallel --filter DiffuseIntegrationTests ``` `FixtureGenerator` and `SampleData` must stay deterministic: no `Date()`, no `UUID()`, no environment lookups.
View on GitHub