1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-04 13:50:28 +02:00

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
This commit is contained in:
michael-kerscher
2025-01-14 10:44:23 +01:00
committed by GitHub
parent 7584ce0048
commit 34920c76e6
5 changed files with 716 additions and 561 deletions

View File

@ -189,6 +189,7 @@ jobs:
run: npm install
working-directory: ./tests
- name: Test Javascript
if: matrix.language == 'en'
run: npm test
env:
TEST_BOOK_DIR: ../book/comprehensive-rust-${{ matrix.language }}/html