-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtestres.1
93 lines (89 loc) · 2.35 KB
/
testres.1
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
85
86
87
88
89
90
91
92
93
.\" $Id$
.\"
.\" Copyright (c) 2018-2020 Sergey Bronnikov
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: April 29 2020 $
.Dt TESTRES 1
.Os
.Sh NAME
.Nm testres
.Nd console viewer for software testing results.
.Sh SYNOPSIS
.Nm
.Op Fl s Ar file
.Op Fl v
.Op Fl h
.Sh DESCRIPTION
The
.Nm
utility knits together software testing reports and helps analyze them.
.Nm
is able to process software testing reports in a three different formats:
JUnit, SubUnit (versions 1 and 2) and Test Anything Protocol.
.Pp
The options are as follows:
.Bl -tag
.It Fl s
Specify a path to a file with report.
.It Fl v
Print version.
.It Fl h
Print usage.
.El
.Sh EXIT STATUS
.Ex -std
.Sh EXAMPLES
.Bd -literal
$ testres -s subunit_v1.subunit
TEST REPORT (SUBUNIT_V1)
ID: b09b24ebda9e4725552bf89f9afdd9d04ab1cab
CREATED ON: Thu Jan 1 03:00:00 1970
FILE: subunit_v1.subunit
SUITE: noname
PASS test_add.TestAdd.test_add_control_dir(pre-views)
PASS test_add.TestAdd.test_add_control_dir(view-aware)
PASS test_add.TestAdd.test_add_dry_run(pre-views)
PASS test_add.TestAdd.test_add_dry_run(view-aware)
.Ed
.Sh STANDARDS
.Rs
.%A M. G. Schwern, A. Lester, A. Armstrong
.%D 2003-2007
.%T TAP 13 - The Test Anything Protocol v13
.Re
.Pp
.Rs
.%A R. Collins
.%D 2005
.%T SubUnit: A streaming protocol for test results
.Re
.Pp
.Rs
.Sh SEE ALSO
.Xr testres.cgi 1 ,
.Xr httpd 8 ,
.Xr slowcgi 8
.Sh AUTHORS
.An -nosplit
The
.Nm
utility was written by
.An Sergey Bronnikov
.Sh CAVEATS
Supported formats uses different names and types of test statuses.
For simplification
.Nm
limits range of statuses with PASS, FAIL and SKIP statuses only. These
statuses aggregates other appropriate statuses.