TAP2JUNIT(1)
π NAME
okay so bestie, gather round β tap2junit is literally the glow-up machine that Converts TAP output to JUnit β¨ it takes your TAP and gives it a whole new main-character outfit, no cap.
β¨ SYNOPSIS
tap2junit [options] <filename> <filename> ...
Options:
--suffix <suffix> Suffix for JUnit output files (default ".xml")
--verbose Display verbose status during conversion
--name <name> Provide explicit name for the JUnit test
--help/-? Display brief help message
--man Display full documentation
like, that's it. that's the whole vibe. you hand it files, it hands you JUnit π
π¦ DESCRIPTION
tap2junit converts TAP output to JUnit. fr fr, that's the entire personality.
so here's the tea: you give it a whole list of files that are full of TAP results, and it will create a series of ????.junit.xml output files containing the JUnit representations of that TAP contained in the files. it's giving translator energy π
and okay, plot twist β if you specify - as the filename, tap2junit will read from STDIN and write to STDOUT. iconic. but likeβ¦ you probably also wanna use the --name option to name the test explicitly, because the default name of - isn't going to make much sense. it's lowkey embarrassing honestly π
π OPTIONS
--suffix <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.
β οΈ okay so listen. 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. that's not a drill bestie, that's your files GONE. proceed with caution π
Defaults to .xml
--verboseβ Display verbose status information during the conversion (telling you which TAP file its working on). so you're not just sitting there like π wondering if it's stuck.--name <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.
This option has also been aliased as --junit_name to provide compatibility with a patch from Joe McMahon. shoutout Joe π«Ά
--help/-?β Display brief help message. the lil quickie.--manβ Displays the full documentation. the full meal, the whole menu, the extended cut πΈ
π AUTHOR
Graham TerMarsch <cpan@howlingfrog.com> β yes, that's the icon, that's the legend, that's who made this whole thing happen π
π COPYRIGHT
Copyright 2008-2010, Graham TerMarsch. All Rights Reserved.
This is free software; you can redistribute it and/or modify it under the same terms as Perl itself. so like, go off, remix it, share it, it's free real estate π
π§ SEE ALSO
TAP::Formatter::JUnit.
and that's the whole page bestie!! this was TAP2JUNIT(1), from the User Contributed Perl Documentation, brought to you by perl v5.42.0, dated 2025-07-25. mwah π
β¨
π¦ where this page comes from
- fedora 43: perl-TAP-Formatter-JUnit 0.17-2.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms