Parse --grep and --invert for mocha
This commit is contained in:
parent
5e06ac11e9
commit
7cf34c6f62
1 changed files with 7 additions and 2 deletions
|
@ -81,8 +81,13 @@ def parse_args():
|
|||
help='Run tests in CI mode',
|
||||
action='store_true',
|
||||
required=False)
|
||||
parser.add_argument('-g',
|
||||
help='Filter',
|
||||
parser.add_argument('-g', '--grep',
|
||||
help='Only run tests matching <pattern>',
|
||||
metavar='pattern',
|
||||
required=False)
|
||||
parser.add_argument('-i', '--invert',
|
||||
help='Inverts --grep matches',
|
||||
action='store_true',
|
||||
required=False)
|
||||
parser.add_argument('-v', '--verbose',
|
||||
action='store_true',
|
||||
|
|
Loading…
Reference in a new issue