-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🧪 Add snapshot testing for cached doctrees (#1020)
This adds some snapshot testing for cached doctrees of a sphinx build, with the `snapshot_doctree` fixture.
- Loading branch information
1 parent
b83532a
commit 6f28dc2
Showing
4 changed files
with
45 additions
and
22 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
tests/__snapshots__/test_basic_doc/test_build_html_parallel[test_app0].doctree.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<document source="<source>"> | ||
<section ids="test-document" names="test\ document"> | ||
<title> | ||
TEST DOCUMENT | ||
<target anonymous="" ids="SP_TOO_001" refid="SP_TOO_001"> | ||
<Need classes="need need-spec" ids="SP_TOO_001" refid="SP_TOO_001"> | ||
<paragraph> | ||
The Tool awesome shall have a command line interface. | ||
<target anonymous="" ids="US_63252" refid="US_63252"> | ||
<Need classes="need need-story" ids="US_63252" refid="US_63252"> | ||
<target refid="needfilter-index-0"> | ||
<Needfilter ids="needfilter-index-0"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters