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