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 223 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
00db02c
wasm-bindgen-test-runner: Added feature test Outputs test file missin…
spigaz Mar 18, 2024
612bfe8
wasm-bindgen-test-runner: Added feature test Returns an error code to…
spigaz Mar 18, 2024
d96ac95
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Mar 18, 2024
2bd5c58
wasm-bindgen-test-runner: Added feature test Outputs no tests to run …
spigaz Mar 21, 2024
f334d5e
wasm-bindgen-test-runner: Added feature test Outputs no error to invo…
spigaz Mar 21, 2024
48700f5
wasm-bindgen-test-runner: Updated tests to trigger build of wasm-bind…
spigaz Mar 27, 2024
6a236a7
wasm-bindgen-test-runner: Updated assembly creator to edition 2021.
spigaz Mar 27, 2024
9779d25
wasm-bindgen-test-runner: Moved tests invocation with_an_empty_assemb…
spigaz Mar 27, 2024
8d96a10
wasm-bindgen-test-runner: Updated to build the assembly with a proper…
spigaz Mar 28, 2024
f9c5a60
wasm-bindgen-test-runner: Clean up.
spigaz Mar 28, 2024
983ae84
wasm-bindgen-test-runner: Added test feature Returns Success to invoc…
spigaz Mar 28, 2024
13bdbcf
wasm-bindgen-test-runner-test: Updated the assembly builder to target…
spigaz Mar 29, 2024
0e7d176
wasm-bindgen-test-runner-test: Added a sandbox to fake a directory st…
spigaz Mar 29, 2024
78d4ea1
wasm-bindgen-test-runner-test: Updated a step to use the lazy_static …
spigaz Mar 29, 2024
853544c
wasm-bindgen-test-runner-test: Updated Project assembly builder to no…
spigaz Mar 29, 2024
8d70652
wasm-bindgen-test-runner-test: Renamed Project assembly builder to As…
spigaz Mar 29, 2024
63fa469
wasm-bindgen-test-runner-test: Improved assembly naming from empty to…
spigaz Mar 29, 2024
a15fccf
wasm-bindgen-test-runner-test: Added feature Outputs Successful Test …
spigaz Mar 30, 2024
210b01b
wasm-bindgen-test-runner-test: Added feature Outputs no Error to with…
spigaz Mar 30, 2024
020613c
wasm-bindgen-test-runner-test: Added feature Returns Failure to invoc…
spigaz Mar 30, 2024
9fa091b
wasm-bindgen-test-runner-test: Added feature Outputs Assertion Error …
spigaz Mar 30, 2024
ba1873d
wasm-bindgen-test-runner-test: Added feature Outputs Failed Test Exec…
spigaz Mar 30, 2024
4a362c1
wasm-bindgen-test-runner-test: Fixed feature name Returns Failure of …
spigaz Mar 30, 2024
a98aeaf
wasm-bindgen-test-runner-test: Added feature Returns Failure to invoc…
spigaz Mar 30, 2024
6eaf081
wasm-bindgen-test-runner-test: Added feature Outputs the failed test …
spigaz Mar 30, 2024
48a2194
wasm-bindgen-test-runner-test: Added feature Outputs the successful t…
spigaz Mar 30, 2024
ffef012
wasm-bindgen-test-runner-test: Added feature Outputs its running 2 te…
spigaz Mar 30, 2024
0df0654
wasm-bindgen-test-runner-test: Added feature Outputs the assembly tes…
spigaz Mar 30, 2024
e44ab88
wasm-bindgen-test-runner-test: Added feature Outputs the assembly fai…
spigaz Mar 30, 2024
5d7b06c
wasm-bindgen-test-runner-test: Added feature Outputs the failed test …
spigaz Mar 30, 2024
24e8981
wasm-bindgen-test-runner-test: Improved features names of invocation …
spigaz Mar 30, 2024
15c3d2e
wasm-bindgen-test-runner-test: Added feature Outputs its running 1 te…
spigaz Mar 30, 2024
2396bae
wasm-bindgen-test-runner-test: Added feature Outputs the successful t…
spigaz Mar 30, 2024
af8cea6
wasm-bindgen-test-runner-test: Improved feature name Outputs the fail…
spigaz Mar 30, 2024
d4fc5bd
wasm-bindgen-test-runner-test: Improved feature name Outputs the fail…
spigaz Mar 30, 2024
90eae44
wasm-bindgen-test-runner-test: Added feature Outputs its running 1 te…
spigaz Mar 30, 2024
f13038d
wasm-bindgen-test-runner-test: Added feature Outputs the assembly fai…
spigaz Mar 30, 2024
fe70932
wasm-bindgen-test-runner-test: Added feature Outputs the assembly tes…
spigaz Mar 30, 2024
25f30f6
wasm-bindgen-test-runner: Started to add support for proper arguments…
spigaz Apr 6, 2024
784c182
wasm-bindgen-test-runner: Started to add support for proper arguments…
spigaz Apr 6, 2024
0921bd6
wasm-bindgen-test-runner: Added test feature Outputs the wasm-bindgen…
spigaz Apr 6, 2024
79d4411
wasm-bindgen-test-runner: Added test feature Returns Success to --hel…
spigaz Apr 6, 2024
3e988ed
wasm-bindgen-test: Added feature support and test Outputs the wasm-bi…
spigaz Apr 6, 2024
6856b59
wasm-bindgen-test-runner: Added test feature Returns Success to invoc…
spigaz Apr 6, 2024
6700972
wasm-bindgen-test-runner: Added commas to the help display.
spigaz Apr 7, 2024
af79911
wasm-bindgen-test-runner: Started to add support for --list --format …
spigaz Apr 7, 2024
a2fb51d
wasm-bindgen-test-runner: Updated existing features to match improvem…
spigaz Apr 7, 2024
d3afee3
wasm-bindgen-test-runner: Added test feature Outputs nothing to invoc…
spigaz Apr 7, 2024
aefec26
wasm-bindgen-test-runner: Added test feature Returns Success to invoc…
spigaz Apr 7, 2024
f63a257
wasm-bindgen-test-runner: Added test feature Outputs nothing to invoc…
spigaz Apr 7, 2024
2ff9cd6
wasm-bindgen-test-runner: Added test feature Returns success to invoc…
spigaz Apr 7, 2024
779b3a8
wasm-bindgen-test-runner: Added test feature Outputs nothing to invoc…
spigaz Apr 7, 2024
23b93a5
wasm-bindgen-test-runner: Added test feature Returns Success to invoc…
spigaz Apr 7, 2024
e5004e2
wasm-bindgen-test-runner: Improved some test features directories.
spigaz Apr 7, 2024
13edaf8
wasm-bindgen-test-runner: Moved test features from invocation with_an…
spigaz Apr 7, 2024
e64ea9c
wasm-bindgen-test-runner: Added test feature Outputs nothing to invoc…
spigaz Apr 7, 2024
3a5ddfc
wasm-bindgen-test-runner: Added test feature Returns success to invoc…
spigaz Apr 7, 2024
061d13b
wasm-bindgen-test-runner: Added test feature Outputs the assembly tes…
spigaz Apr 10, 2024
f1c9fe5
wasm-bindgen-test-runner: Added test feature Returns success to invoc…
spigaz Apr 10, 2024
4ca0326
wasm-bindgen-test-runner: Added test feature Outputs its running 1 te…
spigaz Apr 10, 2024
7c0025c
wasm-bindgen-test-runner: Added test feature Outputs no error to invo…
spigaz Apr 10, 2024
111e056
wasm-bindgen-test-runner: Added test feature Outputs the ignored test…
spigaz Apr 10, 2024
9b98712
wasm-bindgen-test-runner: Added test feature Outputs the assembly tes…
spigaz Apr 10, 2024
8b469bb
wasm-bindgen-test-runner: Added test feature Returns success to invoc…
spigaz Apr 10, 2024
9a5c0b5
wasm-bindgen-test-runner: Added test feature Outputs its running 2 te…
spigaz Apr 10, 2024
abc190a
wasm-bindgen-test-runner: Added test feature Outputs the successfull …
spigaz Apr 10, 2024
9a037df
wasm-bindgen-test-runner: Added test feature Outputs the ignored test…
spigaz Apr 10, 2024
998f9ed
wasm-bindgen-test-runner: Added test feature Outputs all tests in the…
spigaz Apr 10, 2024
63ba00a
wasm-bindgen-test-runner: Added test feature Returns success to invoc…
spigaz Apr 10, 2024
3e67c65
wasm-bindgen-test-runner: Added test feature Outputs the test in the …
spigaz Apr 10, 2024
0d0efce
wasm-bindgen-test-runner: Added test feature Returns success to invoc…
spigaz Apr 10, 2024
68f7b73
wasm-bindgen-test-runner: Added test feature Outputs the test in the …
spigaz Apr 10, 2024
dfa2ec4
wasm-bindgen-test-runner: Moved feature tets of invocation with_an_as…
spigaz Apr 10, 2024
37cb667
wasm-bindgen-test-runner: Added feature test Outputs the successful t…
spigaz Apr 10, 2024
c3a8738
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Apr 10, 2024
b543717
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 10, 2024
c244536
wasm-bindgen-test-runner: Added feature test Outputs no error to invo…
spigaz Apr 10, 2024
c8b1dda
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 10, 2024
9f8bc8d
wasm-bindgen-test-runner: Added feature test Outputs the successful t…
spigaz Apr 10, 2024
20ed650
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 10, 2024
092d46c
wasm-bindgen-test-runner: Added feature test Outputs no error to invo…
spigaz Apr 10, 2024
8740b72
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 10, 2024
598ba33
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Apr 10, 2024
78dbec6
wasm-bindgen-test-runner: Moved test features invocation with_an_asse…
spigaz Apr 10, 2024
3ffd47f
wasm-bindgen-test-runner: Moved test features invocation with_an_asse…
spigaz Apr 10, 2024
0f3c2ad
wasm-bindgen-test-runner: Clippy improvement.
spigaz Apr 10, 2024
96cfe4a
wasm-bindgen-test-runner: Updated dependencies to not wasm, updated t…
spigaz Apr 10, 2024
d6426e4
wasm-bindgen-test-runner: Removed unused use.
spigaz Apr 10, 2024
6b157ec
wasm-bindgen-test-macro: Updated to export a function with the comple…
spigaz Apr 13, 2024
cacd05b
wasm-bindgen-test-runner: Updated to use the new exported information…
spigaz Apr 13, 2024
3d7156b
wasm-bindgen-test-runner: Added feature test Outputs the test in the …
spigaz Apr 13, 2024
35e8a2f
wasm-bindgen-test-runner: Added feature test Outputs the test in the …
spigaz Apr 13, 2024
6f49d98
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 13, 2024
4c13405
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 13, 2024
cffabb4
wasm-bindgen-test-runner: Updated to not clone the assembly when the …
spigaz Apr 13, 2024
2569f3d
wasm-bindgen-test-runner: Added feature test Outputs all tests in the…
spigaz Apr 13, 2024
b0de094
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Apr 13, 2024
3191c87
wasm-bindgen-test-runner: Added feature test Outputs all tests in the…
spigaz Apr 13, 2024
4656aa6
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Apr 13, 2024
b8965c6
wasm-bindgen-test-runner: Added feature test Outputs all tests in the…
spigaz Apr 13, 2024
182ba69
wasm-bindgen-test-runner: Added feature test Outputs all tests in the…
spigaz Apr 13, 2024
19c3bf9
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Apr 13, 2024
8a93725
wasm-bindgen-test-runner: Added feature test Outputs all tests in the…
spigaz Apr 13, 2024
603355a
wasm-bindgen-test-runner: Added feature test Returns success to invoc…
spigaz Apr 13, 2024
f2ec3e4
wasm-bindgen-test-runner: Reorganized some steps, Fixed a step name.
spigaz Apr 13, 2024
f1105aa
wasm-bindgen-test-runner: Reorganized some steps, Fixed a step name.
spigaz Apr 13, 2024
299ac64
wasm-bindgent-test-runner: Moved test features of invocation with_an_…
spigaz Apr 13, 2024
d8bad81
wasm-bindgen-test-runner: Fixed argument name --list format TARGET to…
spigaz Apr 13, 2024
c3f4180
wasm-bindgen-test-runner: Added feature test Outputs the test in the …
spigaz Apr 13, 2024
a846854
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 13, 2024
a2d9ee8
wasm-bindgen-test-runner: Added feature test Outputs the ignored test…
spigaz Apr 13, 2024
d0539fb
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 13, 2024
4d8a110
wasm-bindgen-test-runner: Fixed feature test folder name,
spigaz Apr 13, 2024
10dc128
wasm-bindgen-test-runner: Added feature test Outputs nothing to the i…
spigaz Apr 13, 2024
a6c4965
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 13, 2024
30efc77
wasm-bindgen-test-runnner: Added test feature Outputs the test in the…
spigaz Apr 13, 2024
d8faff6
wasm-bindgen-test-runnner: Added test feature Returns success the inv…
spigaz Apr 13, 2024
7abaeec
wasm-bindgen-test-runnner: Added test feature Outputs the test in the…
spigaz Apr 13, 2024
c32b817
wasm-bindgen-test-runnner: Added test feature Returns success to the …
spigaz Apr 13, 2024
22fb6e8
wasm-bindgen-test-runnner: Added test feature Outputs nothing to the …
spigaz Apr 13, 2024
fb6543c
wasm-bindgen-test-runnner: Added test feature Returns success to the …
spigaz Apr 13, 2024
dce7016
wasm-bindgen-test-runnner: Added test feature Outputs the test in the…
spigaz Apr 13, 2024
34e2e4a
wasm-bindgen-test-runnner: Added test feature Returns success to the …
spigaz Apr 13, 2024
58bbcbe
wasm-bindgen-test-runnner: Added test feature Outputs the ignored tes…
spigaz Apr 13, 2024
6f21a65
wasm-bindgen-test-runnner: Added test feature Returns success to the …
spigaz Apr 13, 2024
a58a84f
wasm-bindgen-test-runnner: Fixed test feature folder name.
spigaz Apr 13, 2024
68bcb5f
wasm-bindgen-test-runner: Improved tests steps helpers to be more hel…
spigaz Apr 14, 2024
637f0b3
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 14, 2024
d97b5a8
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 14, 2024
1f13789
wasm-bindgen-test-runner: Added feature test Outputs no error to the …
spigaz Apr 14, 2024
8467eba
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 14, 2024
f733b02
wasm-bindgen-test-runner: Added feature test Outputs the ignored test…
spigaz Apr 14, 2024
2a11fd1
wasm-bindgen-test-runner: Improved test features folder.
spigaz Apr 14, 2024
89f6260
wasm-bindgen-test-runner: Added test feature Outputs the test in the …
spigaz Apr 14, 2024
3983377
wasm-bindgen-test-runner: Added test feature Returns success to the i…
spigaz Apr 14, 2024
ab4020d
wasm-bindgen-test-runner: Added test feature Outputs the test in the …
spigaz Apr 14, 2024
0c8a265
wasm-bindgen-test-runner: Added test feature Returns success to the i…
spigaz Apr 14, 2024
db81879
test-macro: Simplificed the generated extra function to not having th…
spigaz Apr 14, 2024
f5c4e34
wasm-bindgen-test-runner: Improved test features folders and steps na…
spigaz Apr 14, 2024
c79a791
wasm-bindgent-test-runner: Reinstated support for --include-ignored.
spigaz Apr 14, 2024
ca2df4a
wasm-bindgen-test-runner: Updated test features because of reinstated…
spigaz Apr 14, 2024
8b2ac83
wasm-bindgen-test-runner: Reinstated support for the --skip PATTERN a…
spigaz Apr 16, 2024
ff9ab95
wasm-bindgen-test-runner: Updated test features that check usage info…
spigaz Apr 16, 2024
f72afb5
wasm-bindgen-test-runner: Added test feature for Return success to th…
spigaz Apr 16, 2024
4c53983
wasm-bindgen-test-runner: Added test feature for Outputs no tests to …
spigaz Apr 16, 2024
fd9056f
wasm-bindgen-test-runner: Moved test features of the invocation with_…
spigaz Apr 16, 2024
c226be9
wasm-bindgen-test-runner: Refactored docopt usage information to allo…
spigaz Apr 16, 2024
15d24ee
wasm-bindgen-test-runner: Updated features tests because of docopt us…
spigaz Apr 16, 2024
15e7b82
wasm-bindgen-test-runner: Added test feature for Return success to th…
spigaz Apr 16, 2024
3be6751
wasm-bindgen-test-runner: Added test feature for Outputs no tests to …
spigaz Apr 16, 2024
ea8b3fa
wasm-bindgen-test-runner: Added test feature Returns success to the i…
spigaz Apr 16, 2024
85b262a
wasm-bindgen-test-runner: Added test feature Returns success to the i…
spigaz Apr 16, 2024
9db4bdc
wasm-bindgen-test-runner: Added test feature Outputs its running 1 te…
spigaz Apr 16, 2024
8264b23
wasm-bindgen-test-runner: Added test feature Outputs no error to the …
spigaz Apr 16, 2024
03a9f5f
wasm-bindgen-test-runner: Added test feature Outputs the assembly tes…
spigaz Apr 16, 2024
1834ff5
wasm-bindgen-test-runner: Added test feature Outputs the successful t…
spigaz Apr 16, 2024
6c4ed44
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 17, 2024
528ae5d
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 17, 2024
0a63146
wasm-bindgen-test-runner: Added feature test Outputs no error to the …
spigaz Apr 17, 2024
35fada9
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 17, 2024
c6c2b86
wasm-bindgen-test-runner: Added feature test Outputs no information a…
spigaz Apr 17, 2024
39e3277
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 17, 2024
b705e40
wasm-bindgen-test-runner: Added feature test Outputs no error to the …
spigaz Apr 17, 2024
a21dda6
wasm-bindgen-test-runner: Added feature test Outputs no information a…
spigaz Apr 17, 2024
5a1eac4
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 17, 2024
bdb42fd
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 17, 2024
b65b393
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 17, 2024
6cb7890
wasm-bindgen-test-runner: Added feature test Outputs no error to the …
spigaz Apr 17, 2024
7009816
wasm-bindgen-test-runner: Added feature test Outputs no information a…
spigaz Apr 17, 2024
86f1ff4
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 17, 2024
b33c427
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 17, 2024
0f49e6e
wasm-bindgen-test-runner: Added feature test Outputs its running 1 te…
spigaz Apr 17, 2024
24fa13a
wasm-bindgen-test-runner: Added feature test Outputs no error to the …
spigaz Apr 17, 2024
e28b899
wasm-bindgen-test-runner: Added feature test Outputs no information a…
spigaz Apr 17, 2024
7363e4b
wasm-bindgen-test-runner: Added feature test Outputs the assembly tes…
spigaz Apr 17, 2024
37af8bb
wasm-bindgen-test-runner: Added feature test Returns success to the i…
spigaz Apr 17, 2024
8eeb4d1
wasm-bindgen-test-runner: Added features tests to the invocation with…
spigaz Apr 17, 2024
d49e936
wasm-bindgen-test-runner: Added features tests to the invocation with…
spigaz Apr 17, 2024
7873ade
wasm-bindgen-test-runner: Added features tests to the invocation with…
spigaz Apr 17, 2024
14d9f22
wasm-bindgen-test-runner: Added features tests to the invocation with…
spigaz Apr 17, 2024
e3d2897
wasm-bindgen-test-runner: Added features tests to the invocation with…
spigaz Apr 17, 2024
349db18
wasm-bindgen-test-runner: Fixed some formatting issues.
spigaz Apr 17, 2024
4207567
wasm-bindgen-test-runner: Added features tests to the invocation with…
spigaz Apr 17, 2024
276eaa9
wasm-bindgen-test-runner: Reinstated support for the argument TESTNAM…
spigaz Apr 17, 2024
a5eaadf
wasm-bindgen-test-runner: Updated test features because support for t…
spigaz Apr 17, 2024
6cf21df
wasm-bindgen-test-runner: Added feature tests for the invocation with…
spigaz Apr 17, 2024
77c0f3b
wasm-bindgen-test-runner: Added feature tests for the invocation with…
spigaz Apr 17, 2024
b531df9
wasm-bindgen-test-runner: Added feature tests for the invocation with…
spigaz Apr 18, 2024
f0b090e
wasm-bindgen-test-runner: Added feature tests for the invocation with…
spigaz Apr 18, 2024
7af5905
wasm-bindgen-test-runner: Added feature tests for the invocation with…
spigaz Apr 18, 2024
8586ca3
wasm-bindgen-test-runner: Added feature tests for the invocation with…
spigaz Apr 18, 2024
2b2a5ee
wasm-bindgen-test-runnner: Updated the cli to accept TESTNAME --nocap…
spigaz Apr 19, 2024
7015b4f
wasm-bindgen-test-runnner: Updated the runtime to accept the argument…
spigaz Apr 19, 2024
2c032f1
wasm-bindgen-test-runner: Updated test features that target help and …
spigaz Apr 19, 2024
697726d
wasm-bindgen-test-runner: Added test feature Returns success to the i…
spigaz Apr 19, 2024
e3b227d
wasm-bindgen-test-runner: Added test feature Outputs the successful t…
spigaz Apr 19, 2024
3c9cdae
wasm-bindgen-test-runner: Added test feature Outputs no error to the …
spigaz Apr 19, 2024
0128f68
wasm-bindgen-test-runner: Added support to the cli to handle the TEST…
spigaz Apr 19, 2024
5b949f7
wasm-bindgen-test-runner: Updated test features because of improvemen…
spigaz Apr 19, 2024
d2995de
wasm-bindgen-test-runner: Added test feature Outputs its running 1 te…
spigaz Apr 19, 2024
8df2c3f
wasm-bindgen-test-runner: Improved runtime handling of --nocapture an…
spigaz Apr 19, 2024
58d71ab
wasm-bindgen-test-runner: Moved handling of the exact handling from t…
spigaz Apr 20, 2024
25ead5f
wasm-bindgen-test-runner: Added test feature Outputs the assembly tes…
spigaz Apr 20, 2024
50831ae
wasm-bindgen-test-runner: Added test feature Outputs no information a…
spigaz Apr 20, 2024
1cbf3fd
wasm-bindgen-test-runner: Added test features to the invocation with_…
spigaz Apr 20, 2024
4583b03
wasm-bindgen-test-runner: Added test features to the invocation with_…
spigaz Apr 20, 2024
6959348
wasm-bindgen-test-runner: Added test features to the invocation with_…
spigaz Apr 20, 2024
0ade012
wasm-bindgen-test-runner: Added test feature Outputs the successful t…
spigaz Apr 21, 2024
4dce7a4
wasm-bindgen-test-runner: Added test feature Outputs the successful t…
spigaz Apr 21, 2024
6091ad7
wasm-bindgen-test-runner: Added a lock based handler to prevent tmpdi…
spigaz Apr 22, 2024
c83833e
wasm-bindgen-test-runner: Clippy improvements.
spigaz Apr 22, 2024
ceec592
wasm-bindgen-test-runner: Updated to run bindgen on list and use it w…
spigaz Apr 22, 2024
d4c6a32
wasm-bindgen-test-runner: Updated test step to use the sandbox for re…
spigaz Apr 22, 2024
e099ebd
wasm-bindgen-test-runner: Added feature tests for the invocation runt…
spigaz Apr 27, 2024
9d1bdec
wasm-bindgen-test-runner: Fixed minor bug in node exec that is reused…
spigaz Apr 27, 2024
43e64c3
wasm-bindgen-test-runner: Added missing const to generated node run.js.
spigaz Apr 27, 2024
573e3ce
wasm-bindgen-test-runner: Improved test step formatting.
spigaz Apr 27, 2024
cf17eb9
wasm-bindgen-test-runner: Improved node formatting.
spigaz Apr 27, 2024
fd6d97f
wasm-bindgen-test-runner: Fixed deno support.
spigaz Apr 27, 2024
aac9fe5
wasm-bindgen-test-runner: Added test features to the invocation runti…
spigaz Apr 27, 2024
1da3d9e
wasm-bindgent-test-runner: Added deno to the test_native that runs al…
spigaz Apr 27, 2024
e61ca79
wasm-bindgen-test-runner: Added a way to specify that tests should be…
spigaz Apr 27, 2024
0f78bda
wasm-bindgen-test-runner: Added test features to the invocation runti…
spigaz Apr 27, 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
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
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
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
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
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
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