Scroll to navigation

CLI.PY(1) User Commands CLI.PY(1)

NAME

cli.py - BDD test engine based on Vows.js

DESCRIPTION

usage: cli.py [-h] [-p PATTERN] [-e EXCLUDE]

[-i INCLUDE] [-c] [-l PACKAGE] [-o FILE] [-t NUMBER] [-r FILE] [-x] [-f FILE] [--profile] [--profile-threshold NUM] [--template] [--no-color] [--progress] [--version] [--capture-output] [-v] [path]

Run PyVows tests.

positional arguments:

Directory to look for vows recursively. If a file is passed,the file will be the target for vows. (default: '.').

optional arguments:

show this help message and exit
Pattern of vows files. (default: '*_vows.py')
Exclude tests and contexts that match regex-pattern EXCLUDE [Mutually exclusive with --include]
Include only tests and contexts that match regexpattern INCLUDE [Mutually exclusive with --exclude]
Turn off colorized output. (default: False)
Show progress ticks during testing. (default: False)
show program's version number and exit
Capture stdout and stderr during test execution (default: False)
Verbosity. May be specified many times to increase verbosity (default: -vv)

Test Coverage:

Show the code coverage of tests. (default: False)
Verify coverage of PACKAGE. May be specified many times. (default: all packages)
Exclude FILE from coverage. May be specified many times. (default: no files)
Coverage below NUMBER is considered a failure. (default: 80.0)
Store coverage report as FILE. (default: None)

XUnit:

Enable XUnit output. (default: False)
Store XUnit output as FILE. (default: 'pyvows.xml')

Profiling:

Prints the 10 slowest topics. (default: False)
Tests taking longer than NUM seconds are considered slow. (default: 0.1)

Utility:

Print a PyVows test file template. (Disables testing)
March 2021 cli.py 3.0.0