canary select#
Create tagged selection of tests
canary select [-dh] [-r root] [-m oldtag] [-f tag] [-k expression] [--owner OWNERS] [-p expression] [--regex regex]
tag
Positional arguments
- tag
Name this selection ‘tag’
Optional arguments
-r root, --from-root rootRestrict selection to tests whose source files are located under root
-d, --deleteDelete tag
-m oldtag, --move oldtagMove/rename oldtag to tag
-f tag, --from tagCreate selection from tag
-k expressionRestrict selection to tests matching expression. For example: -k ‘key1 and not key2’. The keyword
:all:matches all tests--owner OWNERSRestrict selection to tests owned by ‘owner’
-p expressionRestrict selection to tests matching the paramter expression. For example: ‘-p cpus=8’ or ‘-p cpus<8’
--regex regexRestrict selection to tests containing the regular expression regex in at least 1 of its file assets. regex is a python regular expression, see https://docs.python.org/3/library/re.html
-h, --helpShow this help message and exit.