.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.48) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Required to disable full justification in groff 1.23.0. .if n .ds AD l .\" ======================================================================== .\" .IX Title "TAP2JUNIT 1" .TH TAP2JUNIT 1 2026-09-24 "perl v5.44.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME tap2junit \- Converts TAP output to JUnit .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& tap2junit [options] ... \& \& Options: \& \-\-suffix Suffix for JUnit output files (default ".xml") \& \-\-verbose Display verbose status during conversion \& \-\-name Provide explicit name for the JUnit test \& \-\-help/\-? Display brief help message \& \-\-man Display full documentation .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" \&\f(CW\*(C`tap2junit\*(C'\fR converts TAP output to JUnit. .PP Give it a list of files containing TAP results and it will create a series of \&\fI????.junit.xml\fR output files containing the JUnit representations of that TAP contained in the files. .PP If you specify \fI\-\fR as the filename, \f(CW\*(C`tap2junit\*(C'\fR will read from STDIN and write to STDOUT. You may also want to use the \f(CW\*(C`\-\-name\*(C'\fR option to name the test explicitly (as the default name of "\-" isn\*(Aqt going to make much sense). .SH OPTIONS .IX Header "OPTIONS" .IP "\fB\-\-suffix \fR" 4 .IX Item "--suffix " Specifies the suffix which is appended to all of the input files, in order to generate the filename for the JUnit XML file that is being output. .Sp If you want to live dangerously and over\-write your original TAP files, you can set this to "" and your original TAP files will be over\-written. .Sp Defaults to \fI.xml\fR .IP \fB\-\-verbose\fR 4 .IX Item "--verbose" Display verbose status information during the conversion (telling you which TAP file its working on). .IP "\fB\-\-name \fR" 4 .IX Item "--name " Specifies an explicit name for the JUnit test. If no name is provided, a default name will be constructed based on the full path of the TAP file being processed. .Sp This option has also been aliased as \f(CW\*(C`\-\-junit_name\*(C'\fR to provide compatibility with a patch from Joe McMahon. .IP \fB\-\-help/\-?\fR 4 .IX Item "--help/-?" Display brief help message. .IP \fB\-\-man\fR 4 .IX Item "--man" Displays the full documentation. .SH AUTHOR .IX Header "AUTHOR" Graham TerMarsch .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright 2008\-2010, Graham TerMarsch. All Rights Reserved. .PP This is free software; you can redistribute it and/or modify it under the same terms as Perl itself. .SH "SEE ALSO" .IX Header "SEE ALSO" TAP::Formatter::JUnit.