GHPReporter / Ghpr.NUnit

Adapter for NUnit 3 (generate HTML report for NUnit 3)
http://ghpreporter.github.io/
MIT License
35 stars 14 forks source link

Report displays no data about specific runs #26

Closed t2thefirst closed 6 years ago

t2thefirst commented 7 years ago

It appears that my test results are not being properly written to the reporting tool. When viewing the report, I see the number of runs, and dates for those runs, but upon drilling into the individual runs, the main statistics and test list show that no tests were run.

Attached is my TestResults.xml files and the report generated from this run. The report uses the example data provided. TestResult.zip

Do you have any suggestions as to what I may have missed during the initial installation? Any help would be appreciated.

elv1s42 commented 7 years ago

Hi @t2thefirst !

Thank you for this issue. Unfortunately I can't reproduce this issue. Are you using the latest versions of both NUnit Console and Ghpr.NUnit? Are you following this (https://github.com/GHPReporter/Ghpr.NUnit#usage) instructions about how to run Ghpr for NUnit tests?

t2thefirst commented 7 years ago

Thank you for taking a look at my question. I am using the latest version of Nunit Console (3.7.0) and Ghpr.NUnit (installed again today via NUget). I'm also following the instructions you linked.

Does it matter which version of Newtonsoft.Json.dll I use? My Ghpr.Nunit/Newtonsoft.Json.10.0.3 doesn't include a folder specifically for net452. I grabbed the Newtonsoft.Json.dll for my addins folder from net45.

elv1s42 commented 6 years ago

Hi @t2thefirst ,

Unfortunately I'm not able to reproduce this issue.

Were you able to see test report generated from Ghpr.NUnit.Examples ?

t2thefirst commented 6 years ago

Hi @elv1s42, I'm not able to see results even with the test data from the Nunit.Examples.

Here is what I'm doing. Download Ghpr.NUnit.Examples as a zip. Extract and build Ghpr.NunitExamples.sln with Xamarin Studio. Using run the tests with a command to command similar to nunit3-console.exe C:/Path/to/Ghpr.NUnitExamples.dll I then get the result attached in my first comment.

elv1s42 commented 6 years ago

Hi @t2thefirst ! I've updated NUnit.Examples repository with the latest Ghpr.Core and Ghpr.NUnit packages, can you please try generating the report once again? Also please make sure that you have the latest NUnit.Console installed on your machine, see https://github.com/GHPReporter/Ghpr.NUnit#usage

t2thefirst commented 6 years ago

Thanks for taking a look. You were right in the first place that I was on an older version. My install of Ghpr.Nunit was using Ghpr.Core 0.6.0. It needs to be 0.7.0. Updating to the correct version resolved my issues. Issue #29 is the same behavior I was seeing.

elv1s42 commented 6 years ago

@t2thefirst, thank you for the update!