Closed davesliu closed 5 years ago
Hi @davesliu !
Thank you very much for detailed issue description. Regarding your two points:
The issue is related with the name on the Console project. Basically System.Console
namespace conflicts with Ghpr.Console
. I'll update the repository to use different namespace.
The usage description from Ghpr.NUnit repository is related to the usage of NUnit Console which is installed locally on the machine where you are running tests. The description you've provided is related to the usage of NUnit Console downloaded as a NuGet package which is even better. I will update the usage description to use both approaches.
Thanks
@elv1s42 Thank you very much for your help :-)
BTW, another question here: As we want to implement continuous integration for unit test with Jenkins. So is it possible to integrate the Ghpr.NUnit to the Jenkins?
Hi @davesliu !
I've never tried it myself, but it should be possible.
You can take a look at this README
section: https://github.com/GHPReporter/Ghpr.Core#how-to-publish-the-report-in-jenkins
Thank you
I downloaded the https://github.com/GHPReporter/Ghpr.NUnit.Examples
1 When I use NuGet to download the Ghpr.Console and compile the Ghpr.NUnit.Examples. It will display error that "Console.WriteLine()" can't parsed in .cs files. I need to use System.Console.Write() in .cs files to pass the build. So could someone update the Ghpr.Console plug-in to mitigate the build error?
In fact, there is no nunit.bundle.addins files in the package of NUnit.ConsoleRunner.3.10.0. It only has nunit.nuget.addins in tools directory of NUnit.ConsoleRunner.3.10.0. I added below content in
../../../../build/Ghpr.NUnit.dll
So could someone update the instruction?
After I modify the Ghpr.NUnit.Settings.json to latest version and copy it to the generated build directory of Ghpr.NUnit.Examples. Then I use nunit3-console to generate .xml file and use ghph.console to generate html format file successfully.