summaryrefslogtreecommitdiffstats
path: root/documentation/nitrate.man
blob: ade1542f6ffea8c2bf46d48e90dd2c47438bf9ba (plain)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.\" Man page generated from reStructeredText.
.
.TH NITRATE 1 "" "" ""
.SH NAME
nitrate \- Python API for the Nitrate test case management system
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.sp
nitrate
.SH DESCRIPTION
.sp
python\-nitrate provides a high\-level Python interface to the
Nitrate test case management system. The package also provides
standalone script \(aqnitrate\(aq which allows easy experimenting with
the interface directly from the Python interpreter by importing
all available objects and enabling the readline support. In short,
after setting your configuration you can directly manipulate all
nitrate objects, for example:
.sp
.nf
.ft C
$ nitrate
>>> for case in TestRun(123):
\&...     print case
.ft P
.fi
.SH CONFIGURATION
.sp
To be able to contact the Nitrate server a minimal user config
file ~/.nitrate has to be provided in the user home directory:
.sp
.nf
.ft C
[nitrate]
url = https://nitrate.server/xmlrpc/
.ft P
.fi
.SH SEE ALSO
.sp
For more detailed and most up\-to\-date description of all available
nitrate module features see Python online documentation:
.sp
.nf
.ft C
pydoc nitrate
.ft P
.fi
.SH AUTHORS
.sp
Written by Petr Splichal <\fI\%psplicha@redhat.com\fP>. The Python xmlrpc
driver is based on the work of Airald Hapairai, David Malcolm
<\fI\%dmalcolm@redhat.com\fP>, Will Woods <\fI\%wwoods@redhat.com\fP> and Bill Peck
<\fI\%bpeck@redhat.com\fP> and was enhanced by Chenxiong Qi <\fI\%cqi@redhat.com\fP>,
Tang Chaobin <\fI\%ctang@redhat.com\fP>, Yuguang Wang <\fI\%yuwang@redhat.com\fP> and
Xuqing Kuang <\fI\%xuqingkuang@gmail.com\fP>.
.\" Generated by docutils manpage writer.
.\" 
.