• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:container +full:- +full:cmd

1 :mod:`trace` --- Trace or track Python statement execution
9 --------------
19 A popular third-party coverage tool that provides HTML
22 .. _trace-cli:
24 Command-Line Usage
25 ------------------
30 python -m trace --count -C . somefile.py ...
37 .. cmdoption:: --help
41 .. cmdoption:: --version
46 Added ``--module`` option that allows to run an executable module.
52 :mod:`trace`. The :option:`--listfuncs <-l>` option is mutually exclusive with
53 the :option:`--trace <-t>` and :option:`--count <-c>` options. When
54 :option:`--listfuncs <-l>` is provided, neither :option:`--count <-c>` nor
55 :option:`--trace <-t>` are accepted, and vice versa.
59 .. cmdoption:: -c, --count
63 :option:`--coverdir <-C>`, :option:`--file <-f>` and
64 :option:`--no-report <-R>` below.
66 .. cmdoption:: -t, --trace
70 .. cmdoption:: -l, --listfuncs
74 .. cmdoption:: -r, --report
77 :option:`--count <-c>` and :option:`--file <-f>` option. This does not
80 .. cmdoption:: -T, --trackcalls
89 .. cmdoption:: -f, --file=<file>
92 used with the :option:`--count <-c>` option.
94 .. cmdoption:: -C, --coverdir=<dir>
99 .. cmdoption:: -m, --missing
104 .. cmdoption:: -s, --summary
106 When using :option:`--count <-c>` or :option:`--report <-r>`, write a brief
109 .. cmdoption:: -R, --no-report
112 several runs with :option:`--count <-c>`, and then produce a single set of
115 .. cmdoption:: -g, --timing
127 .. cmdoption:: --ignore-module=<mod>
132 .. cmdoption:: --ignore-dir=<dir>
137 .. _trace-api:
140 ----------------------
156 .. method:: run(cmd)
159 the current tracing parameters. *cmd* must be a string or code object,
162 .. method:: runctx(cmd, globals=None, locals=None)
183 A container for coverage results, created by :meth:`Trace.results`. Should
204 # do tracing or line-counting or both.