inject 5.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,581 @@
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
+ .
@@ -0,0 +1,3 @@
1
+ home = /Applications/Xcode.app/Contents/Developer/usr/bin
2
+ include-system-site-packages = false
3
+ version = 3.7.3
@@ -0,0 +1,68 @@
1
+ # Intellij Idea
2
+ .idea/
3
+ *.iml
4
+ .vscode/
5
+
6
+ # Byte-compiled / optimized / DLL files
7
+ __pycache__/
8
+ *.py[cod]
9
+ .mypy_cache/
10
+
11
+ # C extensions
12
+ *.so
13
+
14
+ # Distribution / packaging
15
+ .Python
16
+ env/
17
+ bin/
18
+ build/
19
+ develop-eggs/
20
+ dist/
21
+ eggs/
22
+ lib/
23
+ lib64/
24
+ parts/
25
+ sdist/
26
+ var/
27
+ *.egg-info/
28
+ .installed.cfg
29
+ *.egg
30
+
31
+ # Installer logs
32
+ pip-log.txt
33
+ pip-delete-this-directory.txt
34
+
35
+ # Unit test / coverage reports
36
+ .tox/
37
+ .coverage
38
+ .cache
39
+ nosetests.xml
40
+ coverage.xml
41
+
42
+ # Translations
43
+ *.mo
44
+
45
+ # Mr Developer
46
+ .mr.developer.cfg
47
+ .project
48
+ .pydevproject
49
+
50
+ # Rope
51
+ .ropeproject
52
+
53
+ # Django stuff:
54
+ *.log
55
+ *.pot
56
+
57
+ # Sphinx documentation
58
+ docs/_build/
59
+
60
+ # macOS files
61
+ .DS_Store
62
+
63
+ # pyenv virtualenv
64
+ .python-version
65
+
66
+ # Generated files
67
+ _version.py
68
+ _version.pyi
@@ -0,0 +1,14 @@
1
+ dist: xenial
2
+ language: python
3
+ matrix:
4
+ include:
5
+ - python: '3.6'
6
+ - python: '3.7'
7
+ env: TOXENV=py37
8
+ - python: '3.8'
9
+ env: TOXENV=py37
10
+ install:
11
+ - python -m pip install --upgrade --editable=./
12
+ script:
13
+ - nosetests test $EXTRA_ARGS
14
+ - if [ "$TOXENV" = "py37" ]; then nosetests test37; fi