Originally developed by rony.byalsky
Rhino plugin for creating a flat, single file HTML report using HTML and CSS only.
- Clone the code.
- Build the solution.
- From the build output folder copy the file
Rhino.Api.Reporter.SimpleHtml.dll
into the folder where you deployed Rhino Agent. - Run Rhino Agent
While Rhino Agent is running, send the following GET command using any client (you can also use the browser):
<rhino-base-address>:<rhino-port>/api/v3/widget/reporters
The response will be a list of all available reporters on the server:
[
{
"description": "The default Rhino HTML Reporter. A rich HTML Report with all test results and quality matrix.",
"name": "reporter_basic",
"typeId": "Rhino.Api.Contracts.Attributes.ReporterAttribute, Rhino.Api.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
},
{
"description": "Rhino plugin for creating a flat, single file HTML report using HTML and CSS only.",
"name": "reporter_simple_html",
"typeId": "Rhino.Api.Contracts.Attributes.ReporterAttribute, Rhino.Api.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
}
]
Under the reportConfiguration
token in your configuration, add reporter_simple_html
(the reporter name) to the reporters list:
...
"reportingConfiguration": {
...
"reporters": [
"reporter_basic",
"reporter_simple_html"
]
...
}
...