LiquidTestReports.Cli 1.1.1-beta

This is a prerelease version of LiquidTestReports.Cli.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet tool install --global LiquidTestReports.Cli --version 1.1.1-beta
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 LiquidTestReports.Cli --version 1.1.1-beta
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=LiquidTestReports.Cli&version=1.1.1-beta&prerelease
nuke :add-package LiquidTestReports.Cli --version 1.1.1-beta

LiquidTestReports.Cli (Beta):

Generate Markdown or Custom Test Reports from existing TRX files

Installation
dotnet tool install --global LiquidTestReports.Cli --version 1.1.1-beta
Usage
liquid [options]

Options:

--inputs <inputs> Array of formatted configuration strings for test report inputs, with configurations separated by a semicolon

  • File=file-name; The path of the input file.
  • GroupTitle=group-title; Optional title to group reports under, test runs with the same group title will be merged.
  • TestPrefix=test-prefix; Optional test suffix, if provided test origination for the provided report will have the suffix appended to its name.

--output-file <output-file> Path to save test report to.

--title <title> Optional overall report title displayed in default report template. Defaults to "Test Run"

--template <template> Optional user defined liquid template. Defaults to the multi report markdown template is used.

--version Show version information

-?, -h, --help Show help and usage information

Examples

Report from single input

liquid --inputs "File=xUnit-net461-sample.trx" --output-file SingleInput.md 

Report from single input, with a custom title

liquid --inputs "File=xUnit-net461-sample.trx" --output-file CustomTitle.md --title "Test Run 2021"

Report from two inputs

liquid --inputs "File=xUnit-net461-sample.trx" "File=xUnit-netcoreapp3.1-sample.trx" --output-file TwoInputs.md 

Grouped results Report with two inputs, and results grouped under the same section "Unit Tests":

liquid --inputs "File=xUnit-net461-sample.trx;GroupTitle=Unit Tests" "File=xUnit-netcoreapp3.1-sample.trx;GroupTitle=Unit Tests" --output-file GroupUnitTests.md 

Grouped results with test name suffix Report from two inputs, grouped under the same section "Unit Tests", with the tests from xUnit-netcoreapp3.1-sample.trx having (3.1) appended to the test names eg SampleProject.xUnit.TestServiceTests becomes SampleProject.xUnit.TestServiceTests.PassingTest(3.1)

liquid --inputs "File=xUnit-net461-sample.trx;GroupTitle=Unit Tests" "File=xUnit-netcoreapp3.1-sample.trx;GroupTitle=Unit Tests;TestSuffix=(3.1)" --output-file GroupAndSuffix.md 
Removal
dotnet tool uninstall LiquidTestReports.Cli -g
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
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
2.0.0-beta.2 1,966 2/22/2024
1.4.3-beta 52,855 9/18/2022
1.3.2-beta 556 12/5/2021
1.2.1-beta 3,552 5/29/2021
1.1.1-beta 30,321 4/2/2021