Closed sathishkumarmani-cesltd closed 6 years ago
Hi @sathishkumarmani-cesltd !
For using Ghpr.NUnit you need to install NUnit Console: https://github.com/nunit/nunit-console/releases
After that you will be able to see the addins folder:
Thank you
@elv1s42 Thanks for the quick response :-). As I mentioned earlier I have installed NUnit console version 3.8.0
No dlls or folders under NUnit console folder (Screenshot of nunit.console\3.8.0)
Screenshot of NUnit.ConsoleRunner/3.8.0/tools
Hi @sathishkumarmani-cesltd
The NUnit Console should be installed on your local machine via running .msi
file, not via NuGet:
Then you will be able to see the addins
folder:
Also I'll take a look on how to use addins with NuGet packages.
Thank you
Thanks for the detailed response.. I have installed nunit console and have tried to run the test from nunit console. Now I am getting another error as shown below:
However When I remove the addins/Ghpr.NUnit.dll from addins file, I am able to run the test..
Please help and let me know how to configure tests to view history of runs
Hi, I am able to generate the report after adding Nunit.engine dll in addins folder.. Thanks
Hi @sathishkumarmani-cesltd , thank you very much for the update. I'll take a look at NuGet packages for Ghpr.NUnit as it looks like NUnit.Engine package should be updated
Hi @sathishkumarmani-cesltd,
I'm also facing the same issue. I'm copied the Nunit.engine dll into addins folder. But the issue still exists. can you please let me know , if anything you did additionally?
Regards,George
Hi George, Could you please share the dlls and their versions and please share the screenshot as well to look into detail..
Thanks
Ghpr.Core - 0.8.0.2 Ghpr.NUnit - 0.8.0.2 NUnit - [3.9.0] NUnit.ConsoleRunner - 3.8.0
Hi @sathishkumarmani-cesltd , hi @georgooty !
The new version is released now. The issue was with Ghpr.NUnit which was using the previous version of NUnit.Engine (v 3.7.0 instead of v 3.8.0).
Thank you
Hello, @elv1s42
I can not create the Ghpr report. Could anyone help me on this?
Please find the dll's versions I am using:
Nunit : 3.12 Newtonsoft.Json : 12.0.3.23909 NUnit Console : 3.11.1 Ghpr.NUnit : 0.9.10.0
This is how addins folder looks like:
This is how nunit.bundle.addins file looks like:
And this is how bin/debug folder looks like:
I am running via console like this: nunit3-console.exe --labels=All --out=TestResult.txt "--result=TestResult.xml;format=nunit3" "C:\users\usuario\project,project.dll"
The testResult.txt and TestResul.xml files are generated successfully, but can NOT see the Ghpr Report... Am I missing some step?
Hi @ManuelVelazquez!
The first thing I'll suggest is to check the relative path inside your nunit.bundle.addins
file.
You can use --list-extensions
command to make sure NUnit Console
sees the Ghpr.NUnit
extension:
Thank you
Hi,
I have tried to implement Ghpr report and followed all the steps as mentioned in readme file....however I am not able to generate a report. Below are the steps which I have followed -> I couldn't find any folder with name addins, so i have created a new folder under ".nuget\packages\nunit.consolerunner\3.8.0\addins" and added all required dlls into it. -> There is no "nunit.engine.addins" file available, so manually created a file under ".nuget\packages\nunit.consolerunner\3.8.0\tools" and added the path as "../../addins/Ghpr.NUnit.dll"
Please find the dll's versions I have used: Nunit : 3.9.0 Newtonsoft.Json : 10.0.3 NUnit Console : 3.8.0 Ghpr.NUnit : 0.8.0.2
Could you please help me on resolving this issue
Regards, Sathish Kumar Mani