Skip to content

Commit c8dbb59

Browse files
Add documentation for rustdoc-gui tests
1 parent 2b8fbe6 commit c8dbb59

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/test/rustdoc-gui/README.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
The tests present here are used to test the generated HTML from rustdoc. The
2+
goal is to prevent unsound/unexpected GUI changes.
3+
4+
This is using the [browser-ui-test] framework to do so. It works as follows:
5+
6+
It wraps [puppeteer] to send commands to a web browser in order to navigate and
7+
test what's being currently displayed in the web page.
8+
9+
You can find more information and its documentation in its [repository][browser-ui-test].
10+
11+
[browser-ui-test]: https://github.com/GuillaumeGomez/browser-UI-test/
12+
[puppeteer]: https://pptr.dev/

0 commit comments

Comments
 (0)