mirror of
https://github.com/google/comprehensive-rust.git
synced 2026-04-11 09:19:15 +02:00
solution-pattern-matching
3 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
cb538caef5 |
Bump the npm_and_yarn group across 1 directory with 2 updates (#2866)
Bumps the npm_and_yarn group with 2 updates in the /tests directory: [tmp](https://github.com/raszi/node-tmp) and [@wdio/cli](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli). Removes `tmp` Updates `@wdio/cli` from 9.5.3 to 9.19.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/webdriverio/webdriverio/releases"><code>@wdio/cli</code>'s releases</a>.</em></p> <blockquote> <h2>v9.19.2 (2025-08-24)</h2> <h4>🐛 Bug Fix</h4> <ul> <li><code>wdio-junit-reporter</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14706">#14706</a> fix(junit-reporter): improve error handling and skipped test reportin… (<a href="https://github.com/nair-sumesh"><code>@nair-sumesh</code></a>)</li> </ul> </li> <li><code>webdriverio</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14717">#14717</a> fix(webdriverio): escape scripts in addInitScript (<a href="https://github.com/birtles"><code>@birtles</code></a>)</li> </ul> </li> <li><code>wdio-local-runner</code>, <code>wdio-types</code>, <code>wdio-xvfb</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14700">#14700</a> fix(wdio-xvfb): <code>autoXvfb</code> should disable xvfb completely (<a href="https://github.com/goosewobbler"><code>@goosewobbler</code></a>)</li> </ul> </li> </ul> <h4>💅 Polish</h4> <ul> <li><code>wdio-browserstack-service</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14704">#14704</a> Add chaining of multiple layers of overwritten command definitions (<a href="https://github.com/amaanbs"><code>@amaanbs</code></a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Amaan Hakim (<a href="https://github.com/amaanbs"><code>@amaanbs</code></a>)</li> <li>Brian Birtles (<a href="https://github.com/birtles"><code>@birtles</code></a>)</li> <li><a href="https://github.com/goosewobbler"><code>@goosewobbler</code></a></li> <li><a href="https://github.com/nair-sumesh"><code>@nair-sumesh</code></a></li> </ul> <h2>v9.19.1 (2025-08-12)</h2> <h4>💅 Polish</h4> <ul> <li><code>wdio-local-runner</code>, <code>wdio-types</code>, <code>wdio-xvfb</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14696">#14696</a> feat(wdio-xvfb): add <code>xvfbAutoInstall</code> option (<a href="https://github.com/goosewobbler"><code>@goosewobbler</code></a>)</li> </ul> </li> </ul> <h4>Committers: 1</h4> <ul> <li><a href="https://github.com/goosewobbler"><code>@goosewobbler</code></a></li> </ul> <h2>v9.19.0 (2025-08-11)</h2> <h4>🚀 New Feature</h4> <ul> <li><code>wdio-local-runner</code>, <code>wdio-types</code>, <code>wdio-xvfb</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14663">#14663</a> feat: <code>@wdio/xvfb</code> (<a href="https://github.com/goosewobbler"><code>@goosewobbler</code></a>)</li> </ul> </li> <li><code>wdio-browserstack-service</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14680">#14680</a> Add ignore hooks support for v9 (<a href="https://github.com/xxshubhamxx"><code>@xxshubhamxx</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><code>webdriverio</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14694">#14694</a> fix(webdriverio): don't fail if last window is closed (<a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>)</li> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14683">#14683</a> fix: fix longpress on iOS Safari (<a href="https://github.com/wswebcreation"><code>@wswebcreation</code></a>)</li> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14589">#14589</a> [BUG-14514] - Switch frame to an iframe in a Shadow DOM (<a href="https://github.com/vishnuv688"><code>@vishnuv688</code></a>)</li> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14661">#14661</a> fix: simplify the getNativeContext check (<a href="https://github.com/wswebcreation"><code>@wswebcreation</code></a>)</li> </ul> </li> <li><code>wdio-cucumber-framework</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14672">#14672</a> feat(cucumber): Fix skipping tests with skip tag (<a href="https://github.com/Nyaran"><code>@Nyaran</code></a>)</li> </ul> </li> </ul> <h4>💅 Polish</h4> <ul> <li><code>wdio-browserstack-service</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14677">#14677</a> A11y targeted scans v9 (<a href="https://github.com/xxshubhamxx"><code>@xxshubhamxx</code></a>)</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md"><code>@wdio/cli</code>'s changelog</a>.</em></p> <blockquote> <h2>v9.19.2 (2025-08-24)</h2> <h4>🐛 Bug Fix</h4> <ul> <li><code>wdio-junit-reporter</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14706">#14706</a> fix(junit-reporter): improve error handling and skipped test reportin… (<a href="https://github.com/nair-sumesh"><code>@nair-sumesh</code></a>)</li> </ul> </li> <li><code>webdriverio</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14717">#14717</a> fix(webdriverio): escape scripts in addInitScript (<a href="https://github.com/birtles"><code>@birtles</code></a>)</li> </ul> </li> <li><code>wdio-local-runner</code>, <code>wdio-types</code>, <code>wdio-xvfb</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14700">#14700</a> fix(wdio-xvfb): <code>autoXvfb</code> should disable xvfb completely (<a href="https://github.com/goosewobbler"><code>@goosewobbler</code></a>)</li> </ul> </li> </ul> <h4>💅 Polish</h4> <ul> <li><code>wdio-browserstack-service</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14704">#14704</a> Add chaining of multiple layers of overwritten command definitions (<a href="https://github.com/amaanbs"><code>@amaanbs</code></a>)</li> </ul> </li> </ul> <h4>Committers: 4</h4> <ul> <li>Amaan Hakim (<a href="https://github.com/amaanbs"><code>@amaanbs</code></a>)</li> <li>Brian Birtles (<a href="https://github.com/birtles"><code>@birtles</code></a>)</li> <li><a href="https://github.com/goosewobbler"><code>@goosewobbler</code></a></li> <li><a href="https://github.com/nair-sumesh"><code>@nair-sumesh</code></a></li> </ul> <h2>v9.19.1 (2025-08-12)</h2> <h4>💅 Polish</h4> <ul> <li><code>wdio-local-runner</code>, <code>wdio-types</code>, <code>wdio-xvfb</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14696">#14696</a> feat(wdio-xvfb): add <code>xvfbAutoInstall</code> option (<a href="https://github.com/goosewobbler"><code>@goosewobbler</code></a>)</li> </ul> </li> </ul> <h4>Committers: 1</h4> <ul> <li><a href="https://github.com/goosewobbler"><code>@goosewobbler</code></a></li> </ul> <h2>v9.19.0 (2025-08-11)</h2> <h4>🚀 New Feature</h4> <ul> <li><code>wdio-local-runner</code>, <code>wdio-types</code>, <code>wdio-xvfb</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14663">#14663</a> feat: <code>@wdio/xvfb</code> (<a href="https://github.com/goosewobbler"><code>@goosewobbler</code></a>)</li> </ul> </li> <li><code>wdio-browserstack-service</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14680">#14680</a> Add ignore hooks support for v9 (<a href="https://github.com/xxshubhamxx"><code>@xxshubhamxx</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><code>webdriverio</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14694">#14694</a> fix(webdriverio): don't fail if last window is closed (<a href="https://github.com/christian-bromann"><code>@christian-bromann</code></a>)</li> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14683">#14683</a> fix: fix longpress on iOS Safari (<a href="https://github.com/wswebcreation"><code>@wswebcreation</code></a>)</li> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14589">#14589</a> [BUG-14514] - Switch frame to an iframe in a Shadow DOM (<a href="https://github.com/vishnuv688"><code>@vishnuv688</code></a>)</li> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14661">#14661</a> fix: simplify the getNativeContext check (<a href="https://github.com/wswebcreation"><code>@wswebcreation</code></a>)</li> </ul> </li> <li><code>wdio-cucumber-framework</code> <ul> <li><a href="https://redirect.github.com/webdriverio/webdriverio/pull/14672">#14672</a> feat(cucumber): Fix skipping tests with skip tag (<a href="https://github.com/Nyaran"><code>@Nyaran</code></a>)</li> </ul> </li> </ul> <h4>💅 Polish</h4> <ul> <li><code>wdio-browserstack-service</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
34920c76e6 |
tests: hello world playground run with success and failure tests (#2513)
Implement two tests for the rust playground: - successful run of the hello world example with the hello world message in stdout and a hidden stderr - on purpose compilation error is shown in stderr and "No output" in stdout |
||
|
|
48b2b5c312 |
Add a test framework to test the JS part of the course (#2471)
This is a first draft for a test framework for testing the JS part of the book that is discussed in #2462 It is using [webdriverIO](https://webdriver.io/) and the webdriverIO [Expect API](https://webdriver.io/docs/api/expect-webdriverio/) in combination with [Mocha](https://mochajs.org/). WebdriverIO is taking care of accessing the webpage with a real browser and can access the state of the page so behavior can be asserted. Currently only a small test for the speaker-notes implementation demos the functionality. The [Static Server Service](https://webdriver.io/docs/static-server-service/) is used to serve the book in a way that the test runner can access it. A CI integration can look like https://webdriver.io/docs/githubactions/ and is implemented with a headless setup. In CI it uses the language variable to set environment variable that configures where the built book should be mounted from --------- Co-authored-by: Martin Geisler <martin@geisler.net> |