1 ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions
2 py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV)
3 py$(PYV): commands[0]> spec --help
7 -h, --help show this help message and exit
8 -V, --version Output nose version and exit
9 -p, --plugins Output list of available plugins and exit. Combine
10 with higher verbosity for greater detail
11 -v, --verbose Be more verbose. [NOSE_VERBOSE]
13 Set verbosity; --verbosity=2 is the same as -v
14 -q, --quiet Be less verbose
15 -c FILES, --config=FILES
16 Load configuration from config file(s). May be
17 specified multiple times; in that case, all config
18 files will be loaded and combined
19 -w WHERE, --where=WHERE
20 Look for tests in this directory. May be specified
21 multiple times. The first directory passed will be
22 used as the working directory, in place of the current
23 working directory, which is the default. Others will
24 be added to the list of tests to execute. [NOSE_WHERE]
25 --py3where=PY3WHERE Look for tests in this directory under Python 3.x.
26 Functions the same as 'where', but only applies if
27 running under Python 3.x or above. Note that, if
28 present under 3.x, this option completely replaces any
29 directories specified with 'where', so the 'where'
30 option becomes ineffective. [NOSE_PY3WHERE]
31 -m REGEX, --match=REGEX, --testmatch=REGEX
32 Files, directories, function names, and class names
33 that match this regular expression are considered
34 tests. Default: (?:^|[\b_\./-])[Tt]est
36 --tests=NAMES Run these tests (comma-separated list). This argument
37 is useful mainly from configuration files; on the
38 command line, just pass the tests to run as additional
39 arguments with no switch.
40 -l DEBUG, --debug=DEBUG
41 Activate debug logging for one or more systems.
42 Available debug loggers: nose, nose.importer,
43 nose.inspector, nose.plugins, nose.result and
44 nose.selector. Separate multiple names with a comma.
45 --debug-log=FILE Log debug messages to this file (default: sys.stderr)
46 --logging-config=FILE, --log-config=FILE
47 Load logging config from this file -- bypasses all
48 other logging config settings.
49 -I REGEX, --ignore-files=REGEX
50 Completely ignore any file that matches this regular
51 expression. Takes precedence over any other settings
52 or plugins. Specifying this option will replace the
53 default setting. Specify this option multiple times to
54 add more regular expressions [NOSE_IGNORE_FILES]
55 -e REGEX, --exclude=REGEX
56 Don't run tests that match regular expression
58 -i REGEX, --include=REGEX
59 This regular expression will be applied to files,
60 directories, function names, and class names for a
61 chance to include additional tests that do not match
62 TESTMATCH. Specify this option multiple times to add
63 more regular expressions [NOSE_INCLUDE]
64 -x, --stop Stop running tests after the first error or failure
65 -P, --no-path-adjustment
66 Don't make any changes to sys.path when loading tests
68 --exe Look for tests in python modules that are executable.
69 Normal behavior is to exclude executable modules,
70 since they may not be import-safe [NOSE_INCLUDE_EXE]
71 --noexe DO NOT look for tests in python modules that are
72 executable. (The default on the windows platform is to
74 --traverse-namespace Traverse through all path entries of a namespace
76 --first-package-wins, --first-pkg-wins, --1st-pkg-wins
77 nose's importer will normally evict a package from
78 sys.modules if it sees a package with the same name in
79 a different location. Set this option to disable that
81 --no-byte-compile Prevent nose from byte-compiling the source into .pyc
82 files while nose is scanning for and running tests.
83 --with-specplugin Enable plugin SpecPlugin: Generate specification from
84 test class/method names. [NOSE_WITH_SPECPLUGIN]
85 --no-spec-color Don't show colors with --with-spec[NOSE_NO_SPEC_COLOR]
86 --spec-doctests Include doctests in specifications
88 --no-detailed-errors Force detailed errors off
89 --with-timing Display timing info for slow tests
90 --timing-threshold=SECONDS
91 Number (float) of seconds above which to display test
93 --with-flaky Enable plugin FlakyPlugin: Plugin for nosetests that
94 allows retrying flaky tests. [NOSE_WITH_FLAKY]
95 --no-flaky-report Suppress the report at the end of the run detailing
97 --no-success-flaky-report
98 Suppress reporting flaky test successesin the report
99 at the end of the run detailing flaky test results.
100 -a ATTR, --attr=ATTR Run only tests that have attributes specified by ATTR
102 -A EXPR, --eval-attr=EXPR
103 Run only tests for whose attributes the Python
104 expression EXPR evaluates to True [NOSE_EVAL_ATTR]
105 -s, --nocapture Don't capture stdout (any stdout output will be
106 printed immediately) [NOSE_NOCAPTURE]
107 --nologcapture Disable logging capture plugin. Logging configuration
108 will be left intact. [NOSE_NOLOGCAPTURE]
109 --logging-format=FORMAT
110 Specify custom format to print statements. Uses the
111 same format as used by standard logging handlers.
113 --logging-datefmt=FORMAT
114 Specify custom date/time format to print statements.
115 Uses the same format as used by standard logging
116 handlers. [NOSE_LOGDATEFMT]
117 --logging-filter=FILTER
118 Specify which statements to filter in/out. By default,
119 everything is captured. If the output is too verbose,
120 use this option to filter out needless output.
121 Example: filter=foo will capture statements issued
122 ONLY to foo or foo.what.ever.sub but not foobar or
123 other logger. Specify multiple loggers with comma:
124 filter=foo,bar,baz. If any logger name is prefixed
125 with a minus, eg filter=-foo, it will be excluded
126 rather than included. Default: exclude logging
127 messages from nose itself (-nose). [NOSE_LOGFILTER]
128 --logging-clear-handlers
129 Clear all other logging handlers
130 --logging-level=LOGCAPTURE_LEVEL
131 Set the log level to capture
132 --with-coverage Enable plugin Coverage: Activate a coverage report
133 using Ned Batchelder's coverage module.
135 --cover-package=PACKAGE
136 Restrict coverage output to selected packages
138 --cover-erase Erase previously collected coverage statistics before
140 --cover-tests Include test modules in coverage report
142 --cover-min-percentage=COVER_MIN_PERCENTAGE
143 Minimum percentage of coverage for tests to pass
144 [NOSE_COVER_MIN_PERCENTAGE]
145 --cover-inclusive Include all python files under working directory in
146 coverage report. Useful for discovering holes in test
147 coverage if not all files are imported by the test
148 suite. [NOSE_COVER_INCLUSIVE]
149 --cover-html Produce HTML coverage information
150 --cover-html-dir=DIR Produce HTML coverage information in dir
151 --cover-branches Include branch coverage in coverage report
152 [NOSE_COVER_BRANCHES]
153 --cover-xml Produce XML coverage information
154 --cover-xml-file=FILE
155 Produce XML coverage information in file
156 --pdb Drop into debugger on failures or errors
157 --pdb-failures Drop into debugger on failures
158 --pdb-errors Drop into debugger on errors
159 --no-deprecated Disable special handling of DeprecatedTest exceptions.
160 --with-doctest Enable plugin Doctest: Activate doctest plugin to
161 find and run doctests in non-test modules.
163 --doctest-tests Also look for doctests in test modules. Note that
164 classes, methods and functions should have either
165 doctests or non-doctest tests, not both.
167 --doctest-extension=EXT
168 Also look for doctests in files with this extension
169 [NOSE_DOCTEST_EXTENSION]
170 --doctest-result-variable=VAR
171 Change the variable name set to the result of the last
172 interpreter command from the default '_'. Can be used
173 to avoid conflicts with the _() function used for text
174 translation. [NOSE_DOCTEST_RESULT_VAR]
175 --doctest-fixtures=SUFFIX
176 Find fixtures for a doctest file in module with this
177 name appended to the base name of the doctest file
178 --doctest-options=OPTIONS
179 Specify options to pass to doctest. Eg.
180 '+ELLIPSIS,+NORMALIZE_WHITESPACE'
181 --with-isolation Enable plugin IsolationPlugin: Activate the isolation
182 plugin to isolate changes to external modules to a
183 single test module or package. The isolation plugin
184 resets the contents of sys.modules after each test
185 module or package runs to its state before the test.
186 PLEASE NOTE that this plugin should not be used with
187 the coverage plugin, or in any other case where module
188 reloading may produce undesirable side-effects.
189 [NOSE_WITH_ISOLATION]
190 -d, --detailed-errors, --failure-detail
191 Add detail to error output by attempting to evaluate
192 failed asserts [NOSE_DETAILED_ERRORS]
193 --no-skip Disable special handling of SkipTest exceptions.
194 --with-id Enable plugin TestId: Activate to add a test id (like
195 #1) to each test name output. Activate with --failed
196 to rerun failing tests only. [NOSE_WITH_ID]
197 --id-file=FILE Store test ids found in test runs in this file.
198 Default is the file .noseids in the working directory.
199 --failed Run the tests that failed in the last test run.
200 --processes=NUM Spread test run among this many processes. Set a
201 number equal to the number of processors or cores in
202 your machine for best results. Pass a negative number
203 to have the number of processes automatically set to
204 the number of cores. Passing 0 means to disable
205 parallel testing. Default is 0 unless NOSE_PROCESSES
206 is set. [NOSE_PROCESSES]
207 --process-timeout=SECONDS
208 Set timeout for return of results from each test
209 runner process. Default is 10. [NOSE_PROCESS_TIMEOUT]
210 --process-restartworker
211 If set, will restart each worker process once their
212 tests are done, this helps control memory leaks from
213 killing the system. [NOSE_PROCESS_RESTARTWORKER]
214 --with-xunit Enable plugin Xunit: This plugin provides test results
215 in the standard XUnit XML format. [NOSE_WITH_XUNIT]
216 --xunit-file=FILE Path to xml file to store the xunit report in. Default
217 is nosetests.xml in the working directory
219 --xunit-testsuite-name=PACKAGE
220 Name of the testsuite in the xunit xml, generated by
221 plugin. Default test suite name is nosetests.
222 --all-modules Enable plugin AllModules: Collect tests from all
223 python modules. [NOSE_ALL_MODULES]
224 --collect-only Enable collect-only: Collect and output test names
225 only, don't run any tests. [COLLECT_ONLY]
226 --with-specselector Enable plugin CustomSelector: (no help available)
227 [NOSE_WITH_SPECSELECTOR]
230 Force all tests to be flaky.
232 --force-flaky If this option is specified, we will treat all tests
235 If --force-flaky is specified, we will run each test
236 at most this many times (unless the test has its own
238 --min-passes=MIN_PASSES
239 If --force-flaky is specified, we will run each test
240 at least this many times (unless the test has its own