Skip to content

Commit e37e531

Browse files
committed
Support multiple books in the GUI tests
This adds the ability to use multiple books for the GUI tests. This is helpful since some tests need special configuration, and sharing the same book can make it difficult or impossible to test different configurations. It also makes it difficult to make changes to the test_book since it can affect other tests. This works by placing the books in the tests/gui/books directory. The test runner will automatically build all the books. The gui tests can then just access the DOC_PATH with the name of the book. Books are now saved in a temp directory to make it easier to use the DOC_PATH variable, instead of being tests/gui/books/book_name/book which is a little awkward. Following commits will restructure the existing book. This is just a mechanical move.
1 parent 4e41c84 commit e37e531

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+111
-61
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ guide/book
88

99
.vscode
1010
tests/dummy_book/book/
11-
test_book/book/
11+
tests/gui/books/*/book/
1212
tests/testsuite/*/*/book/
1313

1414
# Ignore Jetbrains specific files.

CONTRIBUTING.md

Lines changed: 1 addition & 3 deletions
File renamed without changes.

0 commit comments

Comments
 (0)