Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/extent-framework/extentreports-dotnet-cli
Extent CLI for .NET Test Frameworks
https://github.com/extent-framework/extentreports-dotnet-cli
extentreports reporting
Last synced: about 2 months ago
JSON representation
Extent CLI for .NET Test Frameworks
- Host: GitHub
- URL: https://github.com/extent-framework/extentreports-dotnet-cli
- Owner: extent-framework
- License: apache-2.0
- Created: 2018-12-25T18:20:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-18T21:06:55.000Z (11 months ago)
- Last Synced: 2024-06-22T18:00:28.954Z (3 months ago)
- Topics: extentreports, reporting
- Language: C#
- Homepage: http://extentreports.com
- Size: 2.59 MB
- Stars: 107
- Watchers: 15
- Forks: 35
- Open Issues: 22
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - extent-framework/extentreports-dotnet-cli - Extent CLI for .NET Test Frameworks (C# #)
README
[![NuGet](https://img.shields.io/nuget/v/extent.svg)](https://www.nuget.org/packages/extent)
![](https://img.shields.io/github/license/extent-framework/extentreports-csharp.svg)## Extent .NET CLI
The extentreports-dotnet-cli deprecates [ReportUnit](https://github.com/reportunit/reportunit). Extent Framework is actively maintained and allows using a host of reporters making it very simple to generate test reports. [Klov](http://klov.herokuapp.com/) is the framework's report server and can also be integrated as part of this CLI.
### Example
A sample created from NUnit results.xml available [here](http://extentreports.com/docs/versions/4/net/files/dotnetcli/index.html).
### Screenshots
### CLI Args
| Arg | Details |
|----|--------------------------------------------------------------------|
| -i | TestRunner results file |
| -d | TestRunner results directory to process multiple files at once |
| -o | Report output directory |
| -r | List of Reporters [html, v3html], html (default)|
| -p | TestRunner [NUnit] |
| --merge | Merge multiple results file into a single report |### Processing a single file
The default usage creates a HTML report using the default version 4 `ExtentHtmlReporter`:
```
extent -i results/nunit.xml -o results/
```### Processing multiple files at once
To process multiple files at once, use `-d` to specify the directory where the files are present.
```
extent -d results/ -o results/
```The command above creates multiple HTML outputs, one for each results file. To combine all results into a single HTML file, use the `--merge` option:
```
extent -d results/ -o results/ --merge
```### Specifying the reporter to use:
It is possible to specify the reporter or outputs by specifying them using `-r`:
```
extent -i results/nunit.xml -o results/ -r v3html
```Do not use `html` and `v3html` reporters at once as this may result in clashes.
### License
Apache-2.0