1TAP2JUNIT(1) User Contributed Perl Documentation TAP2JUNIT(1)
2
3
4
6 tap2junit - Converts TAP output to JUnit
7
9 tap2junit [options] <filename> <filename> ...
10
11 Options:
12 --suffix <suffix> Suffix for JUnit output files (default ".xml")
13 --verbose Display verbose status during conversion
14 --name <name> Provide explicit name for the JUnit test
15 --help/-? Display brief help message
16 --man Display full documentation
17
19 "tap2junit" converts TAP output to JUnit.
20
21 Give it a list of files containing TAP results and it will create a
22 series of ????.junit.xml output files containing the JUnit
23 representations of that TAP contained in the files.
24
25 If you specify - as the filename, "tap2junit" will read from STDIN and
26 write to STDOUT. You may also want to use the "--name" option to name
27 the test explicitly (as the default name of "-" isn't going to make
28 much sense).
29
31 --suffix <suffix>
32 Specifies the suffix which is appended to all of the input files,
33 in order to generate the filename for the JUnit XML file that is
34 being output.
35
36 If you want to live dangerously and over-write your original TAP
37 files, you can set this to "" and your original TAP files will be
38 over-written.
39
40 Defaults to .xml
41
42 --verbose
43 Display verbose status information during the conversion (telling
44 you which TAP file its working on).
45
46 --name <name>
47 Specifies an explicit name for the JUnit test. If no name is
48 provided, a default name will be constructed based on the full path
49 of the TAP file being processed.
50
51 This option has also been aliased as "--junit_name" to provide
52 compatibility with a patch from Joe McMahon.
53
54 --help/-?
55 Display brief help message.
56
57 --man
58 Displays the full documentation.
59
61 Graham TerMarsch <cpan@howlingfrog.com>
62
64 Copyright 2008-2010, Graham TerMarsch. All Rights Reserved.
65
66 This is free software; you can redistribute it and/or modify it under
67 the same terms as Perl itself.
68
70 TAP::Formatter::JUnit.
71
72
73
74perl v5.34.1 2022-05-05 TAP2JUNIT(1)