Skip to content

Fix golden master updates and cleanup handling in tests - #780

Merged
jacebrowning merged 5 commits into
doorstop-dev:developfrom
opt12:779-golden_master_fix
Jun 26, 2026
Merged

jacebrowning merged 5 commits into
doorstop-dev:developfrom
opt12:779-golden_master_fix

Conversation

@opt12

@opt12 opt12 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

closes #779

Description

This PR fixes the golden master test workflow.

Changes:

  • Ensure golden master files are updated before assertions fail
  • Prevent teardown cleanup from resetting golden master files such as exported.yml
  • Add a heading-type REQ007 fixture to cover export/publish output changes
  • Avoid failing local test-all runs when coverage upload is unavailable, e.g. in worktrees

This makes intentional golden master updates visible in git diff and keeps local test runs stable.

Comment thread Makefile Resolved
@opt12 opt12 mentioned this pull request Jun 26, 2026
@jacebrowning
jacebrowning merged commit f40ee58 into doorstop-dev:develop Jun 26, 2026
12 checks passed
jacebrowning pushed a commit that referenced this pull request Jul 9, 2026
* fix(reorder): preserve headings during manual index reorder

* Fix golden master updates and cleanup handling in tests (#780)

* no more error when running in a worktree

* - added additional test case: REQ007 with a requirement of "Heading"-type
- updated the creation of the golden master files

* - updated the golden master files to include the additional REQ007 test case

* running checks and repaired makefile

* - undo makefile changes as it's out of scope of issue

---------

Co-authored-by: Felix Eckstein (Ext.) <[email protected]>

* updated example in tutorial such that it can export to LaTeX without errors. (#777)

Co-authored-by: Felix Eckstein (Ext.) <[email protected]>

* docs: fix stale links in README (#778)

- Upgrade four http:// badge/page URLs to https://
- Update Poetry project URL from retired poetry.eustace.io to python-poetry.org

Co-authored-by: TejasAmle <[email protected]>

* fix(reorder): preserve headings during manual index reorder

---------

Co-authored-by: Felix Eckstein (Ext.) <[email protected]>
Co-authored-by: Tejas Amle <[email protected]>
Co-authored-by: TejasAmle <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Golden master pattern broken in several tests due to incorrect order and teardown reset

2 participants