OLD | NEW |
| (Empty) |
1 #compdef trial | |
2 _arguments -s -A "-*" \ | |
3 "*:file|module|package|TestCase|testMethod:_files -g '*.py'" \ | |
4 '--coverage[Generate coverage information in the given directory (relative to]'
\ | |
5 "(--debug)-b[Run tests in the Python debugger. Will load '.pdbrc' from current d
irectory if it exists.]" \ | |
6 "(-b)--debug[Run tests in the Python debugger. Will load '.pdbrc' from current d
irectory if it exists.]" \ | |
7 '(--debug-stacktraces)-B[Report Deferred creation and callback stack traces]' \ | |
8 '(-B)--debug-stacktraces[Report Deferred creation and callback stack traces]' \ | |
9 '--disablegc[Disable the garbage collector]' \ | |
10 '(--dry-run)-n[do everything but run the tests]' \ | |
11 '(-n)--dry-run[do everything but run the tests]' \ | |
12 '(--extra)-x[Add an extra argument. (This is a hack necessary for interfacing w
ith]:extra:_files' \ | |
13 '(-x)--extra=[Add an extra argument. (This is a hack necessary for interfacing
with]:extra:_files' \ | |
14 '--force-gc[Have Trial run gc.collect() before and after each test case.]' \ | |
15 '(--help)-h[Display this help and exit.]' \ | |
16 '(-h)--help[Display this help and exit.]' \ | |
17 '--help-reactors[Display a list of possibly available reactor names.]' \ | |
18 '--help-reporters[Help on available output plugins (reporters)]' \ | |
19 '(--logfile)-l[log file name]:log file name:_files' \ | |
20 '(-l)--logfile=[log file name]:log file name:_files' \ | |
21 "(--no-recurse)-N[Don't recurse into packages]" \ | |
22 "(-N)--no-recurse[Don't recurse into packages]" \ | |
23 "--nopm[don't automatically jump into debugger for postmorteming of exceptions]"
\ | |
24 '--profile[Run tests under the Python profiler]' \ | |
25 '(--random)-z[Run tests in random order using the specified seed]:random seed:_f
iles' \ | |
26 '(-z)--random=[Run tests in random order using the specified seed]:random seed:_
files' \ | |
27 '(--reactor)-r[Which reactor to use (see --help-reactors for a list of possibili
ties)]:reactor:(kqueue win32 epoll iocp gtk cf gtk2 default debug-gui poll glib2
select wx)' \ | |
28 '(-r)--reactor=[Which reactor to use (see --help-reactors for a list of possibil
ities)]:reactor:(kqueue win32 epoll iocp gtk cf gtk2 default debug-gui poll glib
2 select wx)' \ | |
29 '--recursionlimit=[see sys.setrecursionlimit()]:recursionlimit:_files' \ | |
30 '--reporter=[The reporter to use for this test run. See --help-reporters for mo
re info.]:reporter:(bwverbose text verbose timing summary)' \ | |
31 '(--rterrors)-e[realtime errors, print out tracebacks as soon as they occur]' \ | |
32 '(-e)--rterrors[realtime errors, print out tracebacks as soon as they occur]' \ | |
33 '--spew[Print an insanely verbose log of everything that happens. Useful]' \ | |
34 '--tbformat=[Specify the format to display tracebacks with. Valid formats are]:t
bformat:(plain emacs cgitb)' \ | |
35 '--temp-directory=[Path to use as working directory for tests.]:temp-directory:_
files' \ | |
36 '--testmodule=[Filename to grep for test cases (-*- test-case-name)]:testmodule:
_files' \ | |
37 '(--until-failure)-u[Repeat test until it fails]' \ | |
38 '(-u)--until-failure[Repeat test until it fails]' \ | |
39 '--version[version]' \ | |
40 && return 0 | |
OLD | NEW |