summaryrefslogtreecommitdiff
path: root/docs/testing.md
AgeCommit message (Collapse)Author
2020-07-31feat: add $STD_VERSION replacement variable in docs (#6922)Luca Casonato
2020-07-07docs: Update testing.md (#6680)Sebastien Filion
2020-07-07feat(test): Add support for regex in filter flag (#6343)Sebastien Filion
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-06-25fix typo (#6476)champ
2020-06-18docs: Update standard library and testing manual pages (#6323)Chris Knight
2020-06-16docs: testing filter info (#6313)Rob Waller
2020-06-05deno test should run mjs files (#6122)Taisuke Fukuno
2020-05-25Add missing async delay import to code sample (#5837)Martin Suchanek
2020-05-21docs: fix test glob pattern (#5661)Maple Miao
2020-05-10Docs for deno test + minor other changes (#5185)Luca Casonato
* Added fs events example. * Added docs for `deno test`. * Renamed file server example. * Unified markdown code types. * Removed plugin topics from TOC. * Fixed links.