1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
Commit graph

18 commits

Author SHA1 Message Date
Nayeem Rahman
7405356e23
chore(cli/flags): Rename --failfast to --fail-fast (#8456) 2020-11-22 15:40:33 +01:00
Tim Reichen
ae86cbb551
rename(std/testing): rename assert*Contains to assert*Includes (#7951)
This commit renames two assertion functions to better align with JS API:
- assertStringContains -> assertStringIncludes
- assertArrayContains -> assertArrayIncludes
2020-10-26 16:03:30 +01:00
Nayeem Rahman
8cbf0e75b2
fix: Use $deno$test.ts instead of .deno.test.ts (#7717) 2020-09-27 14:21:11 -04:00
David Sherret
df02e31507
feat(fmt): Sort named import and export specifiers (#7711) 2020-09-27 12:22:32 +02:00
tokiedokie
43fa68e589
docs: V8 is a JavaScript engine, not a runtime (#7619) 2020-09-22 13:53:35 +10:00
Casper Beyer
9b8f1d9be8
docs(testing): describe coverage blackboxing rules (#7483) 2020-09-14 21:23:20 -04:00
Luca Casonato
f06724f238
docs: manual updates for 1.4 features and changes (#7440) 2020-09-13 15:17:25 +02:00
Danny Denenberg
2df4a29f49
Typo (#7177) 2020-08-24 12:36:56 -04:00
Luca Casonato
4afb4b6e46
feat: add $STD_VERSION replacement variable in docs (#6922) 2020-07-31 11:12:20 +02:00
Sebastien Filion
e8571742eb
docs: Update testing.md (#6680) 2020-07-07 15:58:10 +02:00
Sebastien Filion
4534db656d
feat(test): Add support for regex in filter flag (#6343)
Currently, the documentation makes it sound like the test subcommand's filter
flag could accept some kind of pattern matching value like a glob or a regex,
although the function "createFilterFn" accepts a regex as an argument, there's
no way to pass an actual regex value from the CLI.

This commit makes it possible to pass a string that could be cast as regex 
when string matches "^/.*/$".

With this change, a user can use the filter flag as follow:

deno test --filter "/test-.+/"

Also tested that `\` get escaped properly, on MacOS at least, and this is 
also a valid flag:

deno test --filter "/test-\d+/"
2020-07-07 15:13:38 +02:00
champ
1fcb71b355
fix typo (#6476) 2020-06-25 12:35:34 -04:00
Chris Knight
78a311aa5f
docs: Update standard library and testing manual pages (#6323) 2020-06-18 06:13:56 -04:00
Rob Waller
b86514aa7e
docs: testing filter info (#6313) 2020-06-16 17:17:00 -04:00
Taisuke Fukuno
d2243b1125
deno test should run mjs files (#6122) 2020-06-05 17:01:44 -04:00
Martin Suchanek
fbbb9f1c36
Add missing async delay import to code sample (#5837) 2020-05-25 09:12:45 -04:00
Maple Miao
9fdc6dc435
docs: fix test glob pattern (#5661) 2020-05-21 01:02:32 -04:00
Luca Casonato
45f9b32ef0
Docs for deno test + minor other changes (#5185)
* Added fs events example.
* Added docs for `deno test`.
* Renamed file server example.
* Unified markdown code types.
* Removed plugin topics from TOC.
* Fixed links.
2020-05-10 03:09:42 +02:00