Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for cargo nextest && Fixed support for deno #3920

Open
wants to merge 224 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
224 commits
Select commit Hold shift + click to select a range
d40d5d5
wasm-bindgen-test-runner: Added feature test Outputs test file missin…
spigaz Mar 18, 2024
d5736d2
wasm-bindgen-test-runner: Added feature test Returns an error code to…
spigaz Mar 18, 2024
8b964e8
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Mar 18, 2024
f8b7b3d
wasm-bindgen-test-runner: Added feature test Outputs no tests to run …
spigaz Mar 21, 2024
866d21e
wasm-bindgen-test-runner: Added feature test Outputs no error to invo…
spigaz Mar 21, 2024
6719fec
wasm-bindgen-test-runner: Updated tests to trigger build of wasm-bind…
spigaz Mar 27, 2024
84a360c
wasm-bindgen-test-runner: Updated assembly creator to edition 2021.
spigaz Mar 27, 2024
8c90631
wasm-bindgen-test-runner: Moved tests invocation with_an_empty_assemb…
spigaz Mar 27, 2024
2ee9f02
wasm-bindgen-test-runner: Updated to build the assembly with a proper…
spigaz Mar 28, 2024
112cbdb
wasm-bindgen-test-runner: Clean up.
spigaz Mar 28, 2024
dca7a18
wasm-bindgen-test-runner: Added test feature Returns Success to invoc…
spigaz Mar 28, 2024
666315c
wasm-bindgen-test-runner-test: Updated the assembly builder to target…
spigaz Mar 29, 2024
aaff784
wasm-bindgen-test-runner-test: Added a sandbox to fake a directory st…
spigaz Mar 29, 2024
df363bd
wasm-bindgen-test-runner-test: Updated a step to use the lazy_static …
spigaz Mar 29, 2024
f396504
wasm-bindgen-test-runner-test: Updated Project assembly builder to no…
spigaz Mar 29, 2024
b8c412b
wasm-bindgen-test-runner-test: Renamed Project assembly builder to As…
spigaz Mar 29, 2024
d66848e
wasm-bindgen-test-runner-test: Improved assembly naming from empty to…
spigaz Mar 29, 2024
1233d19
wasm-bindgen-test-runner-test: Added feature Outputs Successful Test …
spigaz Mar 30, 2024
30b52e2
wasm-bindgen-test-runner-test: Added feature Outputs no Error to with…
spigaz Mar 30, 2024
535f7ec
wasm-bindgen-test-runner-test: Added feature Returns Failure to invoc…
spigaz Mar 30, 2024
5074dda
wasm-bindgen-test-runner-test: Added feature Outputs Assertion Error …
spigaz Mar 30, 2024
a1cbe06
wasm-bindgen-test-runner-test: Added feature Outputs Failed Test Exec…
spigaz Mar 30, 2024
62b8d06
wasm-bindgen-test-runner-test: Fixed feature name Returns Failure of …
spigaz Mar 30, 2024
7b86a4b
wasm-bindgen-test-runner-test: Added feature Returns Failure to invoc…
spigaz Mar 30, 2024
47692b4
wasm-bindgen-test-runner-test: Added feature Outputs the failed test …
spigaz Mar 30, 2024
e66edc8
wasm-bindgen-test-runner-test: Added feature Outputs the successful t…
spigaz Mar 30, 2024
a5701db
wasm-bindgen-test-runner-test: Added feature Outputs its running 2 te…
spigaz Mar 30, 2024
ec834d5
wasm-bindgen-test-runner-test: Added feature Outputs the assembly tes…
spigaz Mar 30, 2024
5891b8b
wasm-bindgen-test-runner-test: Added feature Outputs the assembly fai…
spigaz Mar 30, 2024
3a7d0fe
wasm-bindgen-test-runner-test: Added feature Outputs the failed test …
spigaz Mar 30, 2024
0eeeb17
wasm-bindgen-test-runner-test: Improved features names of invocation …
spigaz Mar 30, 2024
06d130e
wasm-bindgen-test-runner-test: Added feature Outputs its running 1 te…
spigaz Mar 30, 2024
e02ba2e
wasm-bindgen-test-runner-test: Added feature Outputs the successful t…
spigaz Mar 30, 2024
cc40b27
wasm-bindgen-test-runner-test: Improved feature name Outputs the fail…
spigaz Mar 30, 2024
658519c
wasm-bindgen-test-runner-test: Improved feature name Outputs the fail…
spigaz Mar 30, 2024
e551c4b
wasm-bindgen-test-runner-test: Added feature Outputs its running 1 te…
spigaz Mar 30, 2024
46e3876
wasm-bindgen-test-runner-test: Added feature Outputs the assembly fai…
spigaz Mar 30, 2024
9d80dac
wasm-bindgen-test-runner-test: Added feature Outputs the assembly tes…
spigaz Mar 30, 2024
9b6607d
wasm-bindgen-test-runner: Started to add support for proper arguments…
spigaz Apr 6, 2024
ea2b0aa
wasm-bindgen-test-runner: Started to add support for proper arguments…
spigaz Apr 6, 2024
93fd780
wasm-bindgen-test-runner: Added test feature Outputs the wasm-bindgen…
spigaz Apr 6, 2024
37dc4c2
wasm-bindgen-test-runner: Added test feature Returns Success to --hel…
spigaz Apr 6, 2024
fe78bd0
wasm-bindgen-test: Added feature support and test Outputs the wasm-bi…
spigaz Apr 6, 2024
f39636e
wasm-bindgen-test-runner: Added test feature Returns Success to invoc…
spigaz Apr 6, 2024
a1d6b41
wasm-bindgen-test-runner: Added commas to the help display.
spigaz Apr 7, 2024
d88b112
wasm-bindgen-test-runner: Started to add support for --list --format …
spigaz Apr 7, 2024
38feb8e
wasm-bindgen-test-runner: Updated existing features to match improvem…
spigaz Apr 7, 2024
a0624d1
wasm-bindgen-test-runner: Added test feature Outputs nothing to invoc…
spigaz Apr 7, 2024
165eb07
wasm-bindgen-test-runner: Added test feature Returns Success to invoc…
spigaz Apr 7, 2024
d88aeea
wasm-bindgen-test-runner: Added test feature Outputs nothing to invoc…
spigaz Apr 7, 2024
2c02d51
wasm-bindgen-test-runner: Added test feature Returns success to invoc…
spigaz Apr 7, 2024
7153ea6
wasm-bindgen-test-runner: Added test feature Outputs nothing to invoc…
spigaz Apr 7, 2024
691150e
wasm-bindgen-test-runner: Added test feature Returns Success to invoc…
spigaz Apr 7, 2024
b930562
wasm-bindgen-test-runner: Improved some test features directories.
spigaz Apr 7, 2024
e98b588
wasm-bindgen-test-runner: Moved test features from invocation with_an…
spigaz Apr 7, 2024
6305afb
wasm-bindgen-test-runner: Added test feature Outputs nothing to invoc…
spigaz Apr 7, 2024
5d4c269
wasm-bindgen-test-runner: Added test feature Returns success to invoc…
spigaz Apr 7, 2024
175c974
wasm-bindgen-test-runner: Added test feature Outputs the assembly tes…
spigaz Apr 10, 2024
e2b118c
wasm-bindgen-test-runner: Added test feature Returns success to invoc…
spigaz Apr 10, 2024
fe93ad5
wasm-bindgen-test-runner: Added test feature Outputs its running 1 te…
spigaz Apr 10, 2024
c3c8e29
wasm-bindgen-test-runner: Added test feature Outputs no error to invo…
spigaz Apr 10, 2024
486965e
wasm-bindgen-test-runner: Added test feature Outputs the ignored test…
spigaz Apr 10, 2024
e793503
wasm-bindgen-test-runner: Added test feature Outputs the assembly tes…
spigaz Apr 10, 2024
95af533
wasm-bindgen-test-runner: Added test feature Returns success to invoc…
spigaz Apr 10, 2024
f346d2e
wasm-bindgen-test-runner: Added test feature Outputs its running 2 te…
spigaz Apr 10, 2024
af599e5
wasm-bindgen-test-runner: Added test feature Outputs the successfull …
spigaz Apr 10, 2024
e39dcac
wasm-bindgen-test-runner: Added test feature Outputs the ignored test…
spigaz Apr 10, 2024
e8c5693
wasm-bindgen-test-runner: Added test feature Outputs all tests in the…
spigaz Apr 10, 2024
9b0ee6e
wasm-bindgen-test-runner: Added test feature Returns success to invoc…
spigaz Apr 10, 2024
b040399
wasm-bindgen-test-runner: Added test feature Outputs the test in the …
spigaz Apr 10, 2024
6a523d1
wasm-bindgen-test-runner: Added test feature Returns success to invoc…
spigaz Apr 10, 2024
a2c9943
wasm-bindgen-test-runner: Added test feature Outputs the test in the …
spigaz Apr 10, 2024
6dd3bad
wasm-bindgen-test-runner: Moved feature tets of invocation with_an_as…
spigaz Apr 10, 2024
a300447
wasm-bindgen-test-runner: Added feature test Outputs the successful t…
spigaz Apr 10, 2024
736aa39
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Apr 10, 2024
9d98612
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 10, 2024
52e22c1
wasm-bindgen-test-runner: Added feature test Outputs no error to invo…
spigaz Apr 10, 2024
ea45628
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 10, 2024
4b0ba5f
wasm-bindgen-test-runner: Added feature test Outputs the successful t…
spigaz Apr 10, 2024
6c8dd40
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 10, 2024
3a68d0e
wasm-bindgen-test-runner: Added feature test Outputs no error to invo…
spigaz Apr 10, 2024
eaa11c8
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 10, 2024
4e29613
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Apr 10, 2024
2ca4d31
wasm-bindgen-test-runner: Moved test features invocation with_an_asse…
spigaz Apr 10, 2024
fde39ca
wasm-bindgen-test-runner: Moved test features invocation with_an_asse…
spigaz Apr 10, 2024
44efd35
wasm-bindgen-test-runner: Clippy improvement.
spigaz Apr 10, 2024
85d6a68
wasm-bindgen-test-runner: Updated dependencies to not wasm, updated t…
spigaz Apr 10, 2024
4f3d8ff
wasm-bindgen-test-runner: Removed unused use.
spigaz Apr 10, 2024
3bcd302
wasm-bindgen-test-macro: Updated to export a function with the comple…
spigaz Apr 13, 2024
c27eecf
wasm-bindgen-test-runner: Updated to use the new exported information…
spigaz Apr 13, 2024
37598b9
wasm-bindgen-test-runner: Added feature test Outputs the test in the …
spigaz Apr 13, 2024
9b43f4c
wasm-bindgen-test-runner: Added feature test Outputs the test in the …
spigaz Apr 13, 2024
dfe8d6d
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 13, 2024
d6fd1b5
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 13, 2024
fc1879b
wasm-bindgen-test-runner: Updated to not clone the assembly when the …
spigaz Apr 13, 2024
8aec4a8
wasm-bindgen-test-runner: Added feature test Outputs all tests in the…
spigaz Apr 13, 2024
7dea323
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Apr 13, 2024
ce17bae
wasm-bindgen-test-runner: Added feature test Outputs all tests in the…
spigaz Apr 13, 2024
03c51c8
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Apr 13, 2024
7414fba
wasm-bindgen-test-runner: Added feature test Outputs all tests in the…
spigaz Apr 13, 2024
c5795ff
wasm-bindgen-test-runner: Added feature test Outputs all tests in the…
spigaz Apr 13, 2024
3063147
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Apr 13, 2024
40ff63c
wasm-bindgen-test-runner: Added feature test Outputs all tests in the…
spigaz Apr 13, 2024
9d71328
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Apr 13, 2024
66240a5
wasm-bindgen-test-runner: Reorganized some steps, Fixed a step name.
spigaz Apr 13, 2024
34b1bb0
wasm-bindgen-test-runner: Reorganized some steps, Fixed a step name.
spigaz Apr 13, 2024
120048b
wasm-bindgent-test-runner: Moved test features of invocation with_an_…
spigaz Apr 13, 2024
b60d062
wasm-bindgen-test-runner: Fixed argument name --list format TARGET to…
spigaz Apr 13, 2024
1198553
wasm-bindgen-test-runner: Added feature test Outputs the test in the …
spigaz Apr 13, 2024
07c6478
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 13, 2024
6dbd65f
wasm-bindgen-test-runner: Added feature test Outputs the ignored test…
spigaz Apr 13, 2024
1327a52
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 13, 2024
8f25f42
wasm-bindgen-test-runner: Fixed feature test folder name,
spigaz Apr 13, 2024
75ab397
wasm-bindgen-test-runner: Added feature test Outputs nothing to the i…
spigaz Apr 13, 2024
f597ac7
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 13, 2024
386a526
wasm-bindgen-test-runnner: Added test feature Outputs the test in the…
spigaz Apr 13, 2024
86174a6
wasm-bindgen-test-runnner: Added test feature Returns success the inv…
spigaz Apr 13, 2024
486a284
wasm-bindgen-test-runnner: Added test feature Outputs the test in the…
spigaz Apr 13, 2024
6787e0f
wasm-bindgen-test-runnner: Added test feature Returns success to the …
spigaz Apr 13, 2024
3193035
wasm-bindgen-test-runnner: Added test feature Outputs nothing to the …
spigaz Apr 13, 2024
c409ea0
wasm-bindgen-test-runnner: Added test feature Returns success to the …
spigaz Apr 13, 2024
8ba7902
wasm-bindgen-test-runnner: Added test feature Outputs the test in the…
spigaz Apr 13, 2024
4203835
wasm-bindgen-test-runnner: Added test feature Returns success to the …
spigaz Apr 13, 2024
f48ce46
wasm-bindgen-test-runnner: Added test feature Outputs the ignored tes…
spigaz Apr 13, 2024
172c70f
wasm-bindgen-test-runnner: Added test feature Returns success to the …
spigaz Apr 13, 2024
75a38e5
wasm-bindgen-test-runnner: Fixed test feature folder name.
spigaz Apr 13, 2024
6830a95
wasm-bindgen-test-runner: Improved tests steps helpers to be more hel…
spigaz Apr 14, 2024
95bcb8e
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 14, 2024
d672fa1
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 14, 2024
06880d4
wasm-bindgen-test-runner: Added feature test Outputs no error to the …
spigaz Apr 14, 2024
d465caa
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 14, 2024
d9135b8
wasm-bindgen-test-runner: Added feature test Outputs the ignored test…
spigaz Apr 14, 2024
c366b4b
wasm-bindgen-test-runner: Improved test features folder.
spigaz Apr 14, 2024
33bccb6
wasm-bindgen-test-runner: Added test feature Outputs the test in the …
spigaz Apr 14, 2024
65ce408
wasm-bindgen-test-runner: Added test feature Returns success to the i…
spigaz Apr 14, 2024
e278327
wasm-bindgen-test-runner: Added test feature Outputs the test in the …
spigaz Apr 14, 2024
990042d
wasm-bindgen-test-runner: Added test feature Returns success to the i…
spigaz Apr 14, 2024
49e13dd
test-macro: Simplificed the generated extra function to not having th…
spigaz Apr 14, 2024
a4e401f
wasm-bindgen-test-runner: Improved test features folders and steps na…
spigaz Apr 14, 2024
dc93063
wasm-bindgent-test-runner: Reinstated support for --include-ignored.
spigaz Apr 14, 2024
f486b58
wasm-bindgen-test-runner: Updated test features because of reinstated…
spigaz Apr 14, 2024
48a2fe0
wasm-bindgen-test-runner: Reinstated support for the --skip PATTERN a…
spigaz Apr 16, 2024
c490707
wasm-bindgen-test-runner: Updated test features that check usage info…
spigaz Apr 16, 2024
2d93ae9
wasm-bindgen-test-runner: Added test feature for Return success to th…
spigaz Apr 16, 2024
007de54
wasm-bindgen-test-runner: Added test feature for Outputs no tests to …
spigaz Apr 16, 2024
96fd404
wasm-bindgen-test-runner: Moved test features of the invocation with_…
spigaz Apr 16, 2024
0067d9f
wasm-bindgen-test-runner: Refactored docopt usage information to allo…
spigaz Apr 16, 2024
46f920a
wasm-bindgen-test-runner: Updated features tests because of docopt us…
spigaz Apr 16, 2024
96c1216
wasm-bindgen-test-runner: Added test feature for Return success to th…
spigaz Apr 16, 2024
43bc556
wasm-bindgen-test-runner: Added test feature for Outputs no tests to …
spigaz Apr 16, 2024
d80d84e
wasm-bindgen-test-runner: Added test feature Returns success to the i…
spigaz Apr 16, 2024
6442f07
wasm-bindgen-test-runner: Added test feature Returns success to the i…
spigaz Apr 16, 2024
7537b5b
wasm-bindgen-test-runner: Added test feature Outputs its running 1 te…
spigaz Apr 16, 2024
de6fa41
wasm-bindgen-test-runner: Added test feature Outputs no error to the …
spigaz Apr 16, 2024
1de3579
wasm-bindgen-test-runner: Added test feature Outputs the assembly tes…
spigaz Apr 16, 2024
a05190b
wasm-bindgen-test-runner: Added test feature Outputs the successful t…
spigaz Apr 16, 2024
e7a5f6b
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 17, 2024
83fe7c8
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 17, 2024
0480530
wasm-bindgen-test-runner: Added feature test Outputs no error to the …
spigaz Apr 17, 2024
433a1c9
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 17, 2024
d1eacd5
wasm-bindgen-test-runner: Added feature test Outputs no information a…
spigaz Apr 17, 2024
5a1182c
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 17, 2024
c2dc1ab
wasm-bindgen-test-runner: Added feature test Outputs no error to the …
spigaz Apr 17, 2024
5bfabee
wasm-bindgen-test-runner: Added feature test Outputs no information a…
spigaz Apr 17, 2024
fe6ffdf
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 17, 2024
7a8218d
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 17, 2024
0b4e024
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 17, 2024
fedb892
wasm-bindgen-test-runner: Added feature test Outputs no error to the …
spigaz Apr 17, 2024
a559e8e
wasm-bindgen-test-runner: Added feature test Outputs no information a…
spigaz Apr 17, 2024
4a1698f
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 17, 2024
b97a571
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 17, 2024
0fbb5bd
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 17, 2024
5422439
wasm-bindgen-test-runner: Added feature test Outputs no error to the …
spigaz Apr 17, 2024
006fcea
wasm-bindgen-test-runner: Added feature test Outputs no information a…
spigaz Apr 17, 2024
5c40364
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 17, 2024
5afd9de
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 17, 2024
9fed3b3
wasm-bindgen-test-runner: Added features tests to the invocation with…
spigaz Apr 17, 2024
6366651
wasm-bindgen-test-runner: Added features tests to the invocation with…
spigaz Apr 17, 2024
6b25e80
wasm-bindgen-test-runner: Added features tests to the invocation with…
spigaz Apr 17, 2024
812e4fb
wasm-bindgen-test-runner: Added features tests to the invocation with…
spigaz Apr 17, 2024
e80c5f0
wasm-bindgen-test-runner: Added features tests to the invocation with…
spigaz Apr 17, 2024
cab0a55
wasm-bindgen-test-runner: Fixed some formatting issues.
spigaz Apr 17, 2024
b7cf07a
wasm-bindgen-test-runner: Added features tests to the invocation with…
spigaz Apr 17, 2024
6896739
wasm-bindgen-test-runner: Reinstated support for the argument TESTNAM…
spigaz Apr 17, 2024
ca4af0d
wasm-bindgen-test-runner: Updated test features because support for t…
spigaz Apr 17, 2024
ef8c753
wasm-bindgen-test-runner: Added feature tests for the invocation with…
spigaz Apr 17, 2024
97c1ffa
wasm-bindgen-test-runner: Added feature tests for the invocation with…
spigaz Apr 17, 2024
5e92d12
wasm-bindgen-test-runner: Added feature tests for the invocation with…
spigaz Apr 18, 2024
95fc10d
wasm-bindgen-test-runner: Added feature tests for the invocation with…
spigaz Apr 18, 2024
0927878
wasm-bindgen-test-runner: Added feature tests for the invocation with…
spigaz Apr 18, 2024
e68a404
wasm-bindgen-test-runner: Added feature tests for the invocation with…
spigaz Apr 18, 2024
5877a71
wasm-bindgen-test-runnner: Updated the cli to accept TESTNAME --nocap…
spigaz Apr 19, 2024
af197d4
wasm-bindgen-test-runnner: Updated the runtime to accept the argument…
spigaz Apr 19, 2024
f935841
wasm-bindgen-test-runner: Updated test features that target help and …
spigaz Apr 19, 2024
8860d09
wasm-bindgen-test-runner: Added test feature Returns success to the i…
spigaz Apr 19, 2024
c1fa97d
wasm-bindgen-test-runner: Added test feature Outputs the successful t…
spigaz Apr 19, 2024
864b04a
wasm-bindgen-test-runner: Added test feature Outputs no error to the …
spigaz Apr 19, 2024
dccc9c8
wasm-bindgen-test-runner: Added support to the cli to handle the TEST…
spigaz Apr 19, 2024
3df7e10
wasm-bindgen-test-runner: Updated test features because of improvemen…
spigaz Apr 19, 2024
28a28f1
wasm-bindgen-test-runner: Added test feature Outputs its running 1 te…
spigaz Apr 19, 2024
32a7e7c
wasm-bindgen-test-runner: Improved runtime handling of --nocapture an…
spigaz Apr 19, 2024
b0169a7
wasm-bindgen-test-runner: Moved handling of the exact handling from t…
spigaz Apr 20, 2024
9bd87ca
wasm-bindgen-test-runner: Added test feature Outputs the assembly tes…
spigaz Apr 20, 2024
7d5ea71
wasm-bindgen-test-runner: Added test feature Outputs no information a…
spigaz Apr 20, 2024
cbbf586
wasm-bindgen-test-runner: Added test features to the invocation with_…
spigaz Apr 20, 2024
3cb056c
wasm-bindgen-test-runner: Added test features to the invocation with_…
spigaz Apr 20, 2024
4916acb
wasm-bindgen-test-runner: Added test features to the invocation with_…
spigaz Apr 20, 2024
60085fa
wasm-bindgen-test-runner: Added test feature Outputs the successful t…
spigaz Apr 21, 2024
a7e1c65
wasm-bindgen-test-runner: Added test feature Outputs the successful t…
spigaz Apr 21, 2024
933fdec
wasm-bindgen-test-runner: Added a lock based handler to prevent tmpdi…
spigaz Apr 22, 2024
fb6d474
wasm-bindgen-test-runner: Clippy improvements.
spigaz Apr 22, 2024
d0b6aa3
wasm-bindgen-test-runner: Updated to run bindgen on list and use it w…
spigaz Apr 22, 2024
429199e
wasm-bindgen-test-runner: Updated test step to use the sandbox for re…
spigaz Apr 22, 2024
e744d44
wasm-bindgen-test-runner: Added feature tests for the invocation runt…
spigaz Apr 27, 2024
2062aaa
wasm-bindgen-test-runner: Fixed minor bug in node exec that is reused…
spigaz Apr 27, 2024
1816b15
wasm-bindgen-test-runner: Added missing const to generated node run.js.
spigaz Apr 27, 2024
ceabe5a
wasm-bindgen-test-runner: Improved test step formatting.
spigaz Apr 27, 2024
442f4b3
wasm-bindgen-test-runner: Improved node formatting.
spigaz Apr 27, 2024
819b079
wasm-bindgen-test-runner: Fixed deno support.
spigaz Apr 27, 2024
c34fd89
wasm-bindgen-test-runner: Added test features to the invocation runti…
spigaz Apr 27, 2024
4b4ee01
wasm-bindgent-test-runner: Added deno to the test_native that runs al…
spigaz Apr 27, 2024
076cbfe
wasm-bindgen-test-runner: Added a way to specify that tests should be…
spigaz Apr 27, 2024
ebae8a9
wasm-bindgen-test-runner: Added test features to the invocation runti…
spigaz Apr 27, 2024
29608d9
wasm-bindgen-test-runner: Updated then steps to work with &Context to…
spigaz May 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: cargo test
- run: cargo test -p wasm-bindgen-cli-support
- run: cargo test -p wasm-bindgen-cli
Expand Down
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ serde_derive = "1.0"
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
assert_cmd = "1.0"
lazy_static = "1.4.0"
predicates = "1.0.0"
rand = "0.8.5"
regex = "1.10.4"

[dev-dependencies]

[workspace]
members = [
"benchmarks",
Expand Down
3 changes: 2 additions & 1 deletion crates/cli-support/src/js/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,8 @@ impl<'a> Context<'a> {
}}

const wasmInstance = (await WebAssembly.instantiate(wasmCode, imports)).instance;
const wasm = wasmInstance.exports;",
const wasm = wasmInstance.exports;
export const __wasm = wasm;",
module_name = module_name
)
}
Expand Down
1 change: 1 addition & 0 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ bin-dir = "wasm-bindgen-{ version }-{ target }/{ bin }{ binary-ext }"
docopt = "1.0"
env_logger = "0.8"
anyhow = "1.0"
fs2 = "0.4.3"
log = "0.4"
native-tls = { version = "0.2", default-features = false, optional = true }
rouille = { version = "3.0.0", default-features = false }
Expand Down
12 changes: 7 additions & 5 deletions crates/cli/src/bin/wasm-bindgen-test-runner/deno.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,16 @@ pub fn execute(

{console_override}

// global.__wbg_test_invoke = f => f();
window.__wbg_test_invoke = f => f();

// Forward runtime arguments. These arguments are also arguments to the
// `wasm-bindgen-test-runner` which forwards them to deno which we
// forward to the test harness. this is basically only used for test
// filters for now.
cx.args(Deno.args.slice(1));

const ok = await cx.run(tests.map(n => wasm.__wasm[n]));
if (!ok) Deno.exit(1);

const tests = [];
"#,
"#,
module,
console_override = SHARED_SETUP,
);
Expand All @@ -39,6 +36,11 @@ pub fn execute(
js_to_execute.push_str(&format!("tests.push('{}')\n", test));
}

js_to_execute.push_str(
r#"const ok = await cx.run(tests.map(n => wasm.__wasm[n]));
if (!ok) Deno.exit(1);"#,
);

let js_path = tmpdir.join("run.js");
fs::write(&js_path, js_to_execute).context("failed to write JS file")?;

Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/bin/wasm-bindgen-test-runner/headless.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use anyhow::{bail, format_err, Context, Error};
use log::{debug, warn};
use rouille::url::Url;
use serde::{Deserialize, Serialize};
use serde_json::{self, json, Map, Value as Json};
use serde_json::{json, Map, Value as Json};
use std::env;
use std::fs::File;
use std::io::{self, Read};
Expand Down