Skip to content

jonsequitur/t-rex

Repository files navigation

t-rex

A command line tool for testing with dotnet.

Build Status NuGet Status

With t-rex, you can explore the results of your most recent test run.

First, run:

dotnet test -l trx

Then run t-rex:

image

t-rex discovers and parses .trx files, considering only the most recent ones in a given folder.

> t-rex.exe -h
t-rex:
  A command line testing tool for .NET

Usage:
  t-rex [options]

Options:
  --file                .trx file(s) to parse
  --filter              Only look at tests containing the specified text. "*" can be used as a
                        wildcard.
  --format              The format for the output. (Summary, JSON)
  --path                Directory or directories to search for .trx files. Only the most recent
                        .trx file in a given directory is used.
  --hide-test-output    For failed tests, hide detailed test output. (Defaults to false.)
  --version             Display version information

If you are using the 2.1.300 version of dotnet or later, you can install t-rex from the command line using:

dotnet tool install -g t-rex