File: unit2.1

package info (click to toggle)
unittest2 1.1.0-6.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 732 kB
  • ctags: 1,872
  • sloc: python: 7,655; sh: 24; makefile: 9
file content (64 lines) | stat: -rw-r--r-- 978 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.TH UNIT2 "1" "March 2015"
.SH NAME
unit2 \- a shorthand for python \-m unittest2
.SH SYNOPSIS
.B unit2
[
.B \-h
]
[
.B \-v
]
[
.B \-q
]
[
.B \-f
]
[
.B \-c
]
[
.B \-b
]
[
.I tests [tests ...]
]

.SH DESCRIPTION
The unit2 script is a convenient shortcut for discovering and running tests in
a given body of Python source code.
.SH COMMAND LINE OPTIONS
.TP
.B \-h ", " \-\-help
show this help message and exit
.TP
.B \-v ", " \-\-verbose
Verbose output
.TP
.B \-q ", " \-\-quiet
Quiet output
.TP
.B \-f ", " \-\-failfast
Stop on first fail or error
.TP
.B \-c ", " \-\-catch
Catch ctrl-C and display results so far
.TP
.B \-b, \-\-buffer
Buffer stdout and stderr during tests
.SH EXAMPLES
.TP
.B unit2 test_module
run tests from
.I test_module
.TP
.B unit2 module.TestClass
run tests from
.I module.TestClass
.TP
.B unit2 module.Class.test_method
run specified test method
.SH AUTHOR
.UR zygmunt.krynicki@canonical.com
This manual page was written for Debian by Zygmunt Krynicki