Junit.Merge 1.0.0

dotnet tool install --global Junit.Merge --version 1.0.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Junit.Merge --version 1.0.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Junit.Merge&version=1.0.0                
nuke :add-package Junit.Merge --version 1.0.0                

Junit.Merge

Junit.Merge is a .NET tool designed to merge multiple JUnit XML files into a single XML file.

Features

  • Merge multiple JUnit XML files into a single XML file.
  • Remove <system-out> and <system-err> nodes from the merged XML.
  • Customizable file search pattern.
  • Verbose logging.

Installation

Junit.Merge is available as a NuGet package.
You can install Junit.Merge as a global .NET tool using the following command:

dotnet tool install --global Junit.Merge

Usage

To use Junit.Merge, open a command prompt or terminal and run the following command:

Junit.Merge --directory <directory> --output <output-file> [--pattern <pattern>] [--remove-system-out] [--remove-system-err] [--verbose]

Options

  • --output <output-file>: Specifies the path to the output JUnit XML file. If not provided, a default file name will be generated.
  • --directory <directory>: Specifies the directory to search for JUnit XML files. If not provided, the current directory will be used.
  • --pattern <pattern>: Specifies the file search pattern. The default pattern is *.xml.
  • --remove-system-out: Removes the <system-out> nodes from the merged XML.
  • --remove-system-err: Removes the <system-err> nodes from the merged XML.
  • --verbose: Enables verbose logging.

Examples

Junit.Merge --directory ./test-results --output merged-results.xml --remove-system-out

This command will search for XML files in the ./test-results directory, merge them into merged-results.xml, and remove <system-out> nodes.

License

Junit.Merge is licensed under the MIT License.

Warranty

lmao

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.0 96 9/21/2024

First official release of Junit.Merge, have fun!