mirror of
https://github.com/denoland/deno.git
synced 2025-01-11 08:33:43 -05:00
b9a965c607
This commit merges the two vectors of specifiers into a single one introducing the concept of a "TestMode" which is a tri-state enum specifying how a specifier is to be tested (as documentation, as an executable module or as both). This is determined during the collection phase and determines how a specifier will be executed based on how the specifier was collected (directly or not) and if it has an eligible media_type when fetched. For example "deno test README.md" is marked as documentation because, while it is a direct inclusion it is not an executable media type therefore will only have the fenced code blocks that can be parsed from it tested. |
||
---|---|---|
.. | ||
collect | ||
filter | ||
shuffle | ||
allow_all.out | ||
allow_all.ts | ||
allow_none.out | ||
allow_none.ts | ||
clear_timeout.out | ||
clear_timeout.ts | ||
collect.out | ||
doc.out | ||
doc.ts | ||
exit_sanitizer.out | ||
exit_sanitizer.ts | ||
fail.out | ||
fail.ts | ||
fail_fast.out | ||
fail_fast.ts | ||
fail_fast_with_val.out | ||
fail_fast_with_val.ts | ||
filter.out | ||
finally_timeout.out | ||
finally_timeout.ts | ||
ignore.out | ||
ignore.ts | ||
ignore_permissions.out | ||
ignore_permissions.ts | ||
load_unload.out | ||
load_unload.ts | ||
markdown.md | ||
markdown.out | ||
meta.out | ||
meta.ts | ||
no_check.out | ||
no_check.ts | ||
no_color.ts | ||
no_run.out | ||
no_run.ts | ||
only.out | ||
only.ts | ||
pass.out | ||
pass.ts | ||
quiet.out | ||
quiet.ts | ||
shuffle.out | ||
text.md | ||
text.out | ||
unhandled_rejection.out | ||
unhandled_rejection.ts | ||
unresolved_promise.out | ||
unresolved_promise.ts |