]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #79979 - GuillaumeGomez:rustdoc-gui-tests, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Mon, 22 Feb 2021 06:47:59 +0000 (06:47 +0000)
committerbors <bors@rust-lang.org>
Mon, 22 Feb 2021 06:47:59 +0000 (06:47 +0000)
commit352238d152b6b3f106554e75445bbdd5201671b2
tree146cb88c6a6c29e8f94b7aa17a07874d5b6bc230
parente952db8fd02090a10024ae63ba9d34e3b9cef898
parent20f2497efd5e74bdbf775f8de144ed5c3e3394e8
Auto merge of #79979 - GuillaumeGomez:rustdoc-gui-tests, r=Mark-Simulacrum

Rustdoc gui tests

This is a reopening of #70533.

For this first version, there will be no screenshot comparison. Also, a big change compared to the previous version: the tests are now hosted in the rust repository directly. Since there is no image, it's pretty lightweight to say the least.

So now, only remains the nodejs script to run the tests and the tests themselves. Just one thing is missing: where should I put the documentation for these tests? I'm not sure where would be the best place for that. The doc will contain important information like the documentation of the framework used and how to install it (`npm install browser-ui-test`, but still needs to be put somewhere so no one is lost).

We'd also need to install the package when running the CI too. For now, it runs as long as we have nodejs installed, but I think we don't it to run in all nodejs targets?

cc `@jyn514`

r? `@Mark-Simulacrum`