https://github.com/jonsequitur/t-rex
A command line tool for testing with dotnet
https://github.com/jonsequitur/t-rex
Last synced: about 1 year ago
JSON representation
A command line tool for testing with dotnet
- Host: GitHub
- URL: https://github.com/jonsequitur/t-rex
- Owner: jonsequitur
- License: mit
- Created: 2018-02-24T19:02:00.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2023-03-30T15:36:56.000Z (about 3 years ago)
- Last Synced: 2025-03-29T10:02:52.172Z (about 1 year ago)
- Language: C#
- Size: 386 KB
- Stars: 8
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# t-rex
A command line tool for testing with `dotnet`.
[](https://ci.appveyor.com/project/jonsequitur/t-rex)
[](https://www.nuget.org/packages/t-rex/)
With `t-rex`, you can explore the results of your most recent test run.
First, run:
```
dotnet test -l trx
```
Then run `t-rex`:

`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`](https://www.microsoft.com/net/download/dotnet-core/sdk-2.1.300) version of `dotnet` or later, you can install `t-rex` from the command line using:
```shell
dotnet tool install -g t-rex
```