nosetests.1 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH "NOSETESTS" "1" "April 04, 2015" "1.3" "nose"
  4. .SH NAME
  5. nosetests \- Nicer testing for Python
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .SH NICER TESTING FOR PYTHON
  34. .SS SYNOPSIS
  35. .INDENT 0.0
  36. .INDENT 3.5
  37. nosetests [options] [names]
  38. .UNINDENT
  39. .UNINDENT
  40. .SS DESCRIPTION
  41. .sp
  42. nose collects tests automatically from python source files,
  43. directories and packages found in its working directory (which
  44. defaults to the current working directory). Any python source file,
  45. directory or package that matches the testMatch regular expression
  46. (by default: \fI(?:^|[b_.\-])[Tt]est)\fP will be collected as a test (or
  47. source for collection of tests). In addition, all other packages
  48. found in the working directory will be examined for python source files
  49. or directories that match testMatch. Package discovery descends all
  50. the way down the tree, so package.tests and package.sub.tests and
  51. package.sub.sub2.tests will all be collected.
  52. .sp
  53. Within a test directory or package, any python source file matching
  54. testMatch will be examined for test cases. Within a test module,
  55. functions and classes whose names match testMatch and TestCase
  56. subclasses with any name will be loaded and executed as tests. Tests
  57. may use the assert keyword or raise AssertionErrors to indicate test
  58. failure. TestCase subclasses may do the same or use the various
  59. TestCase methods available.
  60. .sp
  61. \fBIt is important to note that the default behavior of nose is to
  62. not include tests from files which are executable.\fP To include
  63. tests from such files, remove their executable bit or use
  64. the \-\-exe flag (see \(aqOptions\(aq section below).
  65. .SS Selecting Tests
  66. .sp
  67. To specify which tests to run, pass test names on the command line:
  68. .INDENT 0.0
  69. .INDENT 3.5
  70. .sp
  71. .nf
  72. .ft C
  73. nosetests only_test_this.py
  74. .ft P
  75. .fi
  76. .UNINDENT
  77. .UNINDENT
  78. .sp
  79. Test names specified may be file or module names, and may optionally
  80. indicate the test case to run by separating the module or file name
  81. from the test case name with a colon. Filenames may be relative or
  82. absolute. Examples:
  83. .INDENT 0.0
  84. .INDENT 3.5
  85. .sp
  86. .nf
  87. .ft C
  88. nosetests test.module
  89. nosetests another.test:TestCase.test_method
  90. nosetests a.test:TestCase
  91. nosetests /path/to/test/file.py:test_function
  92. .ft P
  93. .fi
  94. .UNINDENT
  95. .UNINDENT
  96. .sp
  97. You may also change the working directory where nose looks for tests
  98. by using the \-w switch:
  99. .INDENT 0.0
  100. .INDENT 3.5
  101. .sp
  102. .nf
  103. .ft C
  104. nosetests \-w /path/to/tests
  105. .ft P
  106. .fi
  107. .UNINDENT
  108. .UNINDENT
  109. .sp
  110. Note, however, that support for multiple \-w arguments is now deprecated
  111. and will be removed in a future release. As of nose 0.10, you can get
  112. the same behavior by specifying the target directories \fIwithout\fP
  113. the \-w switch:
  114. .INDENT 0.0
  115. .INDENT 3.5
  116. .sp
  117. .nf
  118. .ft C
  119. nosetests /path/to/tests /another/path/to/tests
  120. .ft P
  121. .fi
  122. .UNINDENT
  123. .UNINDENT
  124. .sp
  125. Further customization of test selection and loading is possible
  126. through the use of plugins.
  127. .sp
  128. Test result output is identical to that of unittest, except for
  129. the additional features (error classes, and plugin\-supplied
  130. features such as output capture and assert introspection) detailed
  131. in the options below.
  132. .SS Configuration
  133. .sp
  134. In addition to passing command\-line options, you may also put
  135. configuration options in your project\(aqs \fIsetup.cfg\fP file, or a .noserc
  136. or nose.cfg file in your home directory. In any of these standard
  137. ini\-style config files, you put your nosetests configuration in a
  138. \fB[nosetests]\fP section. Options are the same as on the command line,
  139. with the \-\- prefix removed. For options that are simple switches, you
  140. must supply a value:
  141. .INDENT 0.0
  142. .INDENT 3.5
  143. .sp
  144. .nf
  145. .ft C
  146. [nosetests]
  147. verbosity=3
  148. with\-doctest=1
  149. .ft P
  150. .fi
  151. .UNINDENT
  152. .UNINDENT
  153. .sp
  154. All configuration files that are found will be loaded and their
  155. options combined. You can override the standard config file loading
  156. with the \fB\-c\fP option.
  157. .SS Using Plugins
  158. .sp
  159. There are numerous nose plugins available via easy_install and
  160. elsewhere. To use a plugin, just install it. The plugin will add
  161. command line options to nosetests. To verify that the plugin is installed,
  162. run:
  163. .INDENT 0.0
  164. .INDENT 3.5
  165. .sp
  166. .nf
  167. .ft C
  168. nosetests \-\-plugins
  169. .ft P
  170. .fi
  171. .UNINDENT
  172. .UNINDENT
  173. .sp
  174. You can add \-v or \-vv to that command to show more information
  175. about each plugin.
  176. .sp
  177. If you are running nose.main() or nose.run() from a script, you
  178. can specify a list of plugins to use by passing a list of plugins
  179. with the plugins keyword argument.
  180. .SS 0.9 plugins
  181. .sp
  182. nose 1.0 can use SOME plugins that were written for nose 0.9. The
  183. default plugin manager inserts a compatibility wrapper around 0.9
  184. plugins that adapts the changed plugin api calls. However, plugins
  185. that access nose internals are likely to fail, especially if they
  186. attempt to access test case or test suite classes. For example,
  187. plugins that try to determine if a test passed to startTest is an
  188. individual test or a suite will fail, partly because suites are no
  189. longer passed to startTest and partly because it\(aqs likely that the
  190. plugin is trying to find out if the test is an instance of a class
  191. that no longer exists.
  192. .SS 0.10 and 0.11 plugins
  193. .sp
  194. All plugins written for nose 0.10 and 0.11 should work with nose 1.0.
  195. .SS Options
  196. .INDENT 0.0
  197. .TP
  198. .B \-V, \-\-version
  199. Output nose version and exit
  200. .UNINDENT
  201. .INDENT 0.0
  202. .TP
  203. .B \-p, \-\-plugins
  204. Output list of available plugins and exit. Combine with higher verbosity for greater detail
  205. .UNINDENT
  206. .INDENT 0.0
  207. .TP
  208. .B \-v=DEFAULT, \-\-verbose=DEFAULT
  209. Be more verbose. [NOSE_VERBOSE]
  210. .UNINDENT
  211. .INDENT 0.0
  212. .TP
  213. .B \-\-verbosity=VERBOSITY
  214. Set verbosity; \-\-verbosity=2 is the same as \-v
  215. .UNINDENT
  216. .INDENT 0.0
  217. .TP
  218. .B \-q=DEFAULT, \-\-quiet=DEFAULT
  219. Be less verbose
  220. .UNINDENT
  221. .INDENT 0.0
  222. .TP
  223. .B \-c=FILES, \-\-config=FILES
  224. Load configuration from config file(s). May be specified multiple times; in that case, all config files will be loaded and combined
  225. .UNINDENT
  226. .INDENT 0.0
  227. .TP
  228. .B \-w=WHERE, \-\-where=WHERE
  229. Look for tests in this directory. May be specified multiple times. The first directory passed will be used as the working directory, in place of the current working directory, which is the default. Others will be added to the list of tests to execute. [NOSE_WHERE]
  230. .UNINDENT
  231. .INDENT 0.0
  232. .TP
  233. .B \-\-py3where=PY3WHERE
  234. Look for tests in this directory under Python 3.x. Functions the same as \(aqwhere\(aq, but only applies if running under Python 3.x or above. Note that, if present under 3.x, this option completely replaces any directories specified with \(aqwhere\(aq, so the \(aqwhere\(aq option becomes ineffective. [NOSE_PY3WHERE]
  235. .UNINDENT
  236. .INDENT 0.0
  237. .TP
  238. .B \-m=REGEX, \-\-match=REGEX, \-\-testmatch=REGEX
  239. Files, directories, function names, and class names that match this regular expression are considered tests. Default: (?:^|[b_./\-])[Tt]est [NOSE_TESTMATCH]
  240. .UNINDENT
  241. .INDENT 0.0
  242. .TP
  243. .B \-\-tests=NAMES
  244. Run these tests (comma\-separated list). This argument is useful mainly from configuration files; on the command line, just pass the tests to run as additional arguments with no switch.
  245. .UNINDENT
  246. .INDENT 0.0
  247. .TP
  248. .B \-l=DEFAULT, \-\-debug=DEFAULT
  249. Activate debug logging for one or more systems. Available debug loggers: nose, nose.importer, nose.inspector, nose.plugins, nose.result and nose.selector. Separate multiple names with a comma.
  250. .UNINDENT
  251. .INDENT 0.0
  252. .TP
  253. .B \-\-debug\-log=FILE
  254. Log debug messages to this file (default: sys.stderr)
  255. .UNINDENT
  256. .INDENT 0.0
  257. .TP
  258. .B \-\-logging\-config=FILE, \-\-log\-config=FILE
  259. Load logging config from this file \-\- bypasses all other logging config settings.
  260. .UNINDENT
  261. .INDENT 0.0
  262. .TP
  263. .B \-I=REGEX, \-\-ignore\-files=REGEX
  264. Completely ignore any file that matches this regular expression. Takes precedence over any other settings or plugins. Specifying this option will replace the default setting. Specify this option multiple times to add more regular expressions [NOSE_IGNORE_FILES]
  265. .UNINDENT
  266. .INDENT 0.0
  267. .TP
  268. .B \-e=REGEX, \-\-exclude=REGEX
  269. Don\(aqt run tests that match regular expression [NOSE_EXCLUDE]
  270. .UNINDENT
  271. .INDENT 0.0
  272. .TP
  273. .B \-i=REGEX, \-\-include=REGEX
  274. This regular expression will be applied to files, directories, function names, and class names for a chance to include additional tests that do not match TESTMATCH. Specify this option multiple times to add more regular expressions [NOSE_INCLUDE]
  275. .UNINDENT
  276. .INDENT 0.0
  277. .TP
  278. .B \-x, \-\-stop
  279. Stop running tests after the first error or failure
  280. .UNINDENT
  281. .INDENT 0.0
  282. .TP
  283. .B \-P, \-\-no\-path\-adjustment
  284. Don\(aqt make any changes to sys.path when loading tests [NOSE_NOPATH]
  285. .UNINDENT
  286. .INDENT 0.0
  287. .TP
  288. .B \-\-exe
  289. Look for tests in python modules that are executable. Normal behavior is to exclude executable modules, since they may not be import\-safe [NOSE_INCLUDE_EXE]
  290. .UNINDENT
  291. .INDENT 0.0
  292. .TP
  293. .B \-\-noexe
  294. DO NOT look for tests in python modules that are executable. (The default on the windows platform is to do so.)
  295. .UNINDENT
  296. .INDENT 0.0
  297. .TP
  298. .B \-\-traverse\-namespace
  299. Traverse through all path entries of a namespace package
  300. .UNINDENT
  301. .INDENT 0.0
  302. .TP
  303. .B \-\-first\-package\-wins, \-\-first\-pkg\-wins, \-\-1st\-pkg\-wins
  304. nose\(aqs importer will normally evict a package from sys.modules if it sees a package with the same name in a different location. Set this option to disable that behavior.
  305. .UNINDENT
  306. .INDENT 0.0
  307. .TP
  308. .B \-\-no\-byte\-compile
  309. Prevent nose from byte\-compiling the source into .pyc files while nose is scanning for and running tests.
  310. .UNINDENT
  311. .INDENT 0.0
  312. .TP
  313. .B \-a=ATTR, \-\-attr=ATTR
  314. Run only tests that have attributes specified by ATTR [NOSE_ATTR]
  315. .UNINDENT
  316. .INDENT 0.0
  317. .TP
  318. .B \-A=EXPR, \-\-eval\-attr=EXPR
  319. Run only tests for whose attributes the Python expression EXPR evaluates to True [NOSE_EVAL_ATTR]
  320. .UNINDENT
  321. .INDENT 0.0
  322. .TP
  323. .B \-s, \-\-nocapture
  324. Don\(aqt capture stdout (any stdout output will be printed immediately) [NOSE_NOCAPTURE]
  325. .UNINDENT
  326. .INDENT 0.0
  327. .TP
  328. .B \-\-nologcapture
  329. Disable logging capture plugin. Logging configuration will be left intact. [NOSE_NOLOGCAPTURE]
  330. .UNINDENT
  331. .INDENT 0.0
  332. .TP
  333. .B \-\-logging\-format=FORMAT
  334. Specify custom format to print statements. Uses the same format as used by standard logging handlers. [NOSE_LOGFORMAT]
  335. .UNINDENT
  336. .INDENT 0.0
  337. .TP
  338. .B \-\-logging\-datefmt=FORMAT
  339. Specify custom date/time format to print statements. Uses the same format as used by standard logging handlers. [NOSE_LOGDATEFMT]
  340. .UNINDENT
  341. .INDENT 0.0
  342. .TP
  343. .B \-\-logging\-filter=FILTER
  344. Specify which statements to filter in/out. By default, everything is captured. If the output is too verbose,
  345. use this option to filter out needless output.
  346. Example: filter=foo will capture statements issued ONLY to
  347. foo or foo.what.ever.sub but not foobar or other logger.
  348. Specify multiple loggers with comma: filter=foo,bar,baz.
  349. If any logger name is prefixed with a minus, eg filter=\-foo,
  350. it will be excluded rather than included. Default: exclude logging messages from nose itself (\-nose). [NOSE_LOGFILTER]
  351. .UNINDENT
  352. .INDENT 0.0
  353. .TP
  354. .B \-\-logging\-clear\-handlers
  355. Clear all other logging handlers
  356. .UNINDENT
  357. .INDENT 0.0
  358. .TP
  359. .B \-\-logging\-level=DEFAULT
  360. Set the log level to capture
  361. .UNINDENT
  362. .INDENT 0.0
  363. .TP
  364. .B \-\-with\-coverage
  365. Enable plugin Coverage:
  366. Activate a coverage report using Ned Batchelder\(aqs coverage module.
  367. [NOSE_WITH_COVERAGE]
  368. .UNINDENT
  369. .INDENT 0.0
  370. .TP
  371. .B \-\-cover\-package=PACKAGE
  372. Restrict coverage output to selected packages [NOSE_COVER_PACKAGE]
  373. .UNINDENT
  374. .INDENT 0.0
  375. .TP
  376. .B \-\-cover\-erase
  377. Erase previously collected coverage statistics before run
  378. .UNINDENT
  379. .INDENT 0.0
  380. .TP
  381. .B \-\-cover\-tests
  382. Include test modules in coverage report [NOSE_COVER_TESTS]
  383. .UNINDENT
  384. .INDENT 0.0
  385. .TP
  386. .B \-\-cover\-min\-percentage=DEFAULT
  387. Minimum percentage of coverage for tests to pass [NOSE_COVER_MIN_PERCENTAGE]
  388. .UNINDENT
  389. .INDENT 0.0
  390. .TP
  391. .B \-\-cover\-inclusive
  392. Include all python files under working directory in coverage report. Useful for discovering holes in test coverage if not all files are imported by the test suite. [NOSE_COVER_INCLUSIVE]
  393. .UNINDENT
  394. .INDENT 0.0
  395. .TP
  396. .B \-\-cover\-html
  397. Produce HTML coverage information
  398. .UNINDENT
  399. .INDENT 0.0
  400. .TP
  401. .B \-\-cover\-html\-dir=DIR
  402. Produce HTML coverage information in dir
  403. .UNINDENT
  404. .INDENT 0.0
  405. .TP
  406. .B \-\-cover\-branches
  407. Include branch coverage in coverage report [NOSE_COVER_BRANCHES]
  408. .UNINDENT
  409. .INDENT 0.0
  410. .TP
  411. .B \-\-cover\-xml
  412. Produce XML coverage information
  413. .UNINDENT
  414. .INDENT 0.0
  415. .TP
  416. .B \-\-cover\-xml\-file=FILE
  417. Produce XML coverage information in file
  418. .UNINDENT
  419. .INDENT 0.0
  420. .TP
  421. .B \-\-pdb
  422. Drop into debugger on failures or errors
  423. .UNINDENT
  424. .INDENT 0.0
  425. .TP
  426. .B \-\-pdb\-failures
  427. Drop into debugger on failures
  428. .UNINDENT
  429. .INDENT 0.0
  430. .TP
  431. .B \-\-pdb\-errors
  432. Drop into debugger on errors
  433. .UNINDENT
  434. .INDENT 0.0
  435. .TP
  436. .B \-\-no\-deprecated
  437. Disable special handling of DeprecatedTest exceptions.
  438. .UNINDENT
  439. .INDENT 0.0
  440. .TP
  441. .B \-\-with\-doctest
  442. Enable plugin Doctest:
  443. Activate doctest plugin to find and run doctests in non\-test modules.
  444. [NOSE_WITH_DOCTEST]
  445. .UNINDENT
  446. .INDENT 0.0
  447. .TP
  448. .B \-\-doctest\-tests
  449. Also look for doctests in test modules. Note that classes, methods and functions should have either doctests or non\-doctest tests, not both. [NOSE_DOCTEST_TESTS]
  450. .UNINDENT
  451. .INDENT 0.0
  452. .TP
  453. .B \-\-doctest\-extension=EXT
  454. Also look for doctests in files with this extension [NOSE_DOCTEST_EXTENSION]
  455. .UNINDENT
  456. .INDENT 0.0
  457. .TP
  458. .B \-\-doctest\-result\-variable=VAR
  459. Change the variable name set to the result of the last interpreter command from the default \(aq_\(aq. Can be used to avoid conflicts with the _() function used for text translation. [NOSE_DOCTEST_RESULT_VAR]
  460. .UNINDENT
  461. .INDENT 0.0
  462. .TP
  463. .B \-\-doctest\-fixtures=SUFFIX
  464. Find fixtures for a doctest file in module with this name appended to the base name of the doctest file
  465. .UNINDENT
  466. .INDENT 0.0
  467. .TP
  468. .B \-\-doctest\-options=OPTIONS
  469. Specify options to pass to doctest. Eg. \(aq+ELLIPSIS,+NORMALIZE_WHITESPACE\(aq
  470. .UNINDENT
  471. .INDENT 0.0
  472. .TP
  473. .B \-\-with\-isolation
  474. Enable plugin IsolationPlugin:
  475. Activate the isolation plugin to isolate changes to external
  476. modules to a single test module or package. The isolation plugin
  477. resets the contents of sys.modules after each test module or
  478. package runs to its state before the test. PLEASE NOTE that this
  479. plugin should not be used with the coverage plugin, or in any other case
  480. where module reloading may produce undesirable side\-effects.
  481. [NOSE_WITH_ISOLATION]
  482. .UNINDENT
  483. .INDENT 0.0
  484. .TP
  485. .B \-d, \-\-detailed\-errors, \-\-failure\-detail
  486. Add detail to error output by attempting to evaluate failed asserts [NOSE_DETAILED_ERRORS]
  487. .UNINDENT
  488. .INDENT 0.0
  489. .TP
  490. .B \-\-with\-profile
  491. Enable plugin Profile:
  492. Use this plugin to run tests using the hotshot profiler.
  493. [NOSE_WITH_PROFILE]
  494. .UNINDENT
  495. .INDENT 0.0
  496. .TP
  497. .B \-\-profile\-sort=SORT
  498. Set sort order for profiler output
  499. .UNINDENT
  500. .INDENT 0.0
  501. .TP
  502. .B \-\-profile\-stats\-file=FILE
  503. Profiler stats file; default is a new temp file on each run
  504. .UNINDENT
  505. .INDENT 0.0
  506. .TP
  507. .B \-\-profile\-restrict=RESTRICT
  508. Restrict profiler output. See help for pstats.Stats for details
  509. .UNINDENT
  510. .INDENT 0.0
  511. .TP
  512. .B \-\-no\-skip
  513. Disable special handling of SkipTest exceptions.
  514. .UNINDENT
  515. .INDENT 0.0
  516. .TP
  517. .B \-\-with\-id
  518. Enable plugin TestId:
  519. Activate to add a test id (like #1) to each test name output. Activate
  520. with \-\-failed to rerun failing tests only.
  521. [NOSE_WITH_ID]
  522. .UNINDENT
  523. .INDENT 0.0
  524. .TP
  525. .B \-\-id\-file=FILE
  526. Store test ids found in test runs in this file. Default is the file .noseids in the working directory.
  527. .UNINDENT
  528. .INDENT 0.0
  529. .TP
  530. .B \-\-failed
  531. Run the tests that failed in the last test run.
  532. .UNINDENT
  533. .INDENT 0.0
  534. .TP
  535. .B \-\-processes=NUM
  536. Spread test run among this many processes. Set a number equal to the number of processors or cores in your machine for best results. Pass a negative number to have the number of processes automatically set to the number of cores. Passing 0 means to disable parallel testing. Default is 0 unless NOSE_PROCESSES is set. [NOSE_PROCESSES]
  537. .UNINDENT
  538. .INDENT 0.0
  539. .TP
  540. .B \-\-process\-timeout=SECONDS
  541. Set timeout for return of results from each test runner process. Default is 10. [NOSE_PROCESS_TIMEOUT]
  542. .UNINDENT
  543. .INDENT 0.0
  544. .TP
  545. .B \-\-process\-restartworker
  546. If set, will restart each worker process once their tests are done, this helps control memory leaks from killing the system. [NOSE_PROCESS_RESTARTWORKER]
  547. .UNINDENT
  548. .INDENT 0.0
  549. .TP
  550. .B \-\-with\-xunit
  551. Enable plugin Xunit: This plugin provides test results in the standard XUnit XML format. [NOSE_WITH_XUNIT]
  552. .UNINDENT
  553. .INDENT 0.0
  554. .TP
  555. .B \-\-xunit\-file=FILE
  556. Path to xml file to store the xunit report in. Default is nosetests.xml in the working directory [NOSE_XUNIT_FILE]
  557. .UNINDENT
  558. .INDENT 0.0
  559. .TP
  560. .B \-\-xunit\-testsuite\-name=PACKAGE
  561. Name of the testsuite in the xunit xml, generated by plugin. Default test suite name is nosetests.
  562. .UNINDENT
  563. .INDENT 0.0
  564. .TP
  565. .B \-\-all\-modules
  566. Enable plugin AllModules: Collect tests from all python modules.
  567. [NOSE_ALL_MODULES]
  568. .UNINDENT
  569. .INDENT 0.0
  570. .TP
  571. .B \-\-collect\-only
  572. Enable collect\-only:
  573. Collect and output test names only, don\(aqt run any tests.
  574. [COLLECT_ONLY]
  575. .UNINDENT
  576. .SH AUTHOR
  577. Nose developers
  578. .SH COPYRIGHT
  579. 2009, Jason Pellerin
  580. .\" Generated by docutils manpage writer.
  581. .