Wiki

Clone wiki

TestReportManager / Home

TestReportManager

TestReportManager is a lightweight website written in dotnet core, that allows storing and viewing results from test sessions.

Main features:

  • define separate reports for a different kind of tests (UI, Integration, etc.),

  • current test results can be viewed in the real time (without waiting for the completion of the test session),

  • showing test history together with the current results,

  • easy access to test artifacts by clicking on a test,

  • ability to comment test results (to explain the reason of a failed test / to indicate whether someone is working on a test)

See screenshots below

License

TestReportManager is Open Source software and is released under the MIT license

Installation

  • Clone the repository

    git clone git@bitbucket.org:mk_meros/testreportmanager.git
    

  • Build

    cd <path to your local repository>
    dotnet publish TestReportManager.Host -c Release -o ..\output
    

  • Update Connection String output\appsettings.json

  • Host the website

    cd output
    dotnet TestReportManager.Host.dll --urls http://*:80
    

Sending test results

Sending test results can be done by using TestReportManager.Client library:

PM> Install-Package TestReportManager.Client

Sample code:

// Before all tests
var trm = new TestReportManager.Client.TestReportManagerClient("http://localhost/api");
trm.StartReport("UI", "v1", "v2");

// Before a test
trm.StartTest("test name")

// After the test
trm.FinishTest("test name", Status.Passed);

// After all tests
trm.FinishReport();

Screenshots

TRM1.png TRM2.png TRM3.png

Updated