All Projects → GHPReporter → Ghpr.nunit

GHPReporter / Ghpr.nunit

Licence: mit
Adapter for NUnit 3 (generate HTML report for NUnit 3)

Projects that are alternatives of or similar to Ghpr.nunit

SeLite
Automated database-enabled navigation ✔️ of web applications
Stars: ✭ 34 (+3.03%)
Mutual labels:  qa, reporting, test-automation
QuestPDF
QuestPDF is an open-source, modern and battle-tested library that can help you with generating PDF documents by offering friendly, discoverable and predictable C# fluent API.
Stars: ✭ 2,872 (+8603.03%)
Mutual labels:  nuget, reporting, report
sarna
Security Assessment Report geNerated Automatically
Stars: ✭ 26 (-21.21%)
Mutual labels:  reporting, report
ScreenshotPlugin
A simple Screenshot plugin for Xamarin and Windows to get and save screenshot in yours apps.
Stars: ✭ 32 (-3.03%)
Mutual labels:  screenshot, nuget
request-baskets
HTTP requests collector to test webhooks, notifications, REST clients and more ...
Stars: ✭ 149 (+351.52%)
Mutual labels:  qa, test-automation
CellReport
CellReport 是一个netcore实现的、以复杂统计报表为核心目标的制作、运行工具。支持数据看板、大屏制作。你可以使用数据库、excel文件、api服务、已有报表等为数据源,通过内置的集合函数组织数据,以类excel界面设计最终呈现结果。
Stars: ✭ 196 (+493.94%)
Mutual labels:  reporting, report
pysys-test
PySys System Test Framework
Stars: ✭ 14 (-57.58%)
Mutual labels:  qa, test-automation
StormReport
🌀 Library - Create your reports using only annotations
Stars: ✭ 17 (-48.48%)
Mutual labels:  reporting, report
jtl-reporter
JtlReporter is an online application that allows users to generate beautiful, customizable and easy to understand performance reports from JMeter(Taurus), Locust, and other tools.
Stars: ✭ 85 (+157.58%)
Mutual labels:  reporting, report
nunit.testlogger
NUnit logger for vstest platform
Stars: ✭ 48 (+45.45%)
Mutual labels:  nuget, nunit
DeepfakeHTTP
DeepfakeHTTP is a web server that uses HTTP dumps as a source for responses.
Stars: ✭ 373 (+1030.3%)
Mutual labels:  qa, test-automation
Cake
🍰 Cake (C# Make) is a cross platform build automation system.
Stars: ✭ 3,154 (+9457.58%)
Mutual labels:  nuget, nunit
FastReport.Documentation
FastReport Open Source Documentation
Stars: ✭ 81 (+145.45%)
Mutual labels:  reporting, report
test junkie
Highly configurable testing framework for Python
Stars: ✭ 72 (+118.18%)
Mutual labels:  qa, test-automation
RDLCPrinter
Wpf ReportViewer control and RDLCPrinter work with SQL Server LocalReport. You can export your report to PDF, Word or PNG Image...
Stars: ✭ 26 (-21.21%)
Mutual labels:  reporting, report
jacoco-report
Github action that publishes the JaCoCo report as a comment in the Pull Request
Stars: ✭ 31 (-6.06%)
Mutual labels:  reporting, report
Report
📜 🎉 Automated reporting of objects in R
Stars: ✭ 348 (+954.55%)
Mutual labels:  reporting, report
toster
DSL framework for testing Android apps
Stars: ✭ 31 (-6.06%)
Mutual labels:  screenshot, test-automation
NBi
NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Access. The main goal of this framework is to let users create tests with a declarative approach based on an Xml syntax. By the means of NBi, you don't need to develop C# or Java code to specify your tests! Either, you don't need Visual Studio or Eclipse to compile y…
Stars: ✭ 102 (+209.09%)
Mutual labels:  nunit, test-automation
Python-Test-Automation-Framework
Test Automation Framework using selenium and Python
Stars: ✭ 41 (+24.24%)
Mutual labels:  qa, test-automation

Project icon

Some Links:
Core | MSTest | MSTestV2 | NUnit | SpecFlow | Console | Site Repo

Build status NuGet Version Codacy Badge CodeFactor FOSSA Status

Ghpr.NUnit

Usage:

With installed NUnit 3 Console

  • Check you have the latest version installed
  • Download the latest version of Ghpr.NUnit (using NuGet)
  • Add relative path to Ghpr.NUnit.dll from build folder of your tests (example: addins/../../../Users/Evgeniy_Kosjakov/Documents/GitHub/Ghpr.NUnit.Examples/build/Ghpr.NUnit.dll) into nunit.bundle.addins file (file located in [nunit_console_location]/addins). Also make sure that your build contains such libraries and files as Ghpr.Core.dll, Ghpr.NUnit.dll, Ghpr.LocalFileSystem.dll, Ghpr.NUnit.Settings.json and Newtonsoft.Json.dll: Project icon
  • Run your tests via NUnit Console

With NUnit 3 ConsoleRunner NuGet package

  • Check you have the latest NuGet package installed
  • Download the latest version of Ghpr.NUnit (using NuGet)
  • Add relative path to Ghpr.NUnit.dll located in your build folder into nunit.nuget.addins in tools directory of NUnit.ConsoleRunner.3.10.0. Also make sure that your build contains such libraries and files as Ghpr.Core.dll, Ghpr.NUnit.dll, Ghpr.LocalFileSystem.dll, Ghpr.NUnit.Settings.json and Newtonsoft.Json.dll.
  • Run your tests via NUnit Console Runner

How to publish the report in Jenkins

Please, read this 'How to publish the report in Jenkins' instruction.

How to work with screenshots

If you want to add screenshots to your report, you need to implement your own method of taking screenshot as byte[]. This is needed because there is no way to take screenshot which will work on any testing framework or CI tool (such as Jenkins or TeamCity). If you are using WebDriver, you can take screenshot using WebDriver. Also NUnit attachments are supported.

[Test]
public void TestMethod()
{
    var bytes = TakeScreenshot(); //your implementation
    //all you need to do is to pass byte[] to ScreenHelper:
    ScreenHelper.SaveScreenshot(bytes);
}

If you want to be able to take screenshots for failed tests, you can take a look at this approach:

[TearDown]
public void TakeScreenIfFailed()
{
    var res = TestContext.CurrentContext.Result.Outcome;
    if (res.Equals(ResultState.Failure) || res.Equals(ResultState.Error))
    {
        ScreenHelper.SaveScreenshot(TakeScreenshot());
    }
}

Demo Report

You can view Demo report on our site

View report locally

Please read Core instructions or this comment about opening report in Chrome

Contributing

Anyone contributing is welcome. Write issues, create pull requests.

Release notes

You can find it here for all packages.

License

FOSSA Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].