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

Data not showing in the report #8

Closed nagarjunagandra closed 7 years ago

nagarjunagandra commented 7 years ago

Hi,

Files are generated when I ran the Nunit console application but when i open the index file and navigating further not showing any data. it is just showing empty values

Please help me on this.

Regards, Nagarjuna

elv1s42 commented 7 years ago

Hi @nagarjunagandra !

What version of Chpr.Core and Ghpr.NUnit are you using?

Are there any errors in browser console when you are opening report?

Are there any exception .txt files the report folder?

Did you follow these instructions to view report?

nagarjunagandra commented 7 years ago

Hi,

I am using 0.2.5.1 version for both Ghpr.core and Ghpr.Nunit.

I could not find any errors in browser console and exceptions in report folder.

elv1s42 commented 7 years ago

Ok, can you attach this report here? Or maybe create simple demo tests to reproduce this issue. Is it possible that tests fail inside SetUp?

nagarjunagandra commented 7 years ago

Hi ,

I am able to see the report only in Firefox but not on other browsers.

Please help me to how to enable in other browsers as well.

elv1s42 commented 7 years ago

The reason why it doesn work is that you need to enable access to local files from javascript, which is blocked by default in all browsers. you will see some errors inside browser console. You can serach for browser options to enable access to local files (like security.fileuri.strict_origin_policy parameter for Firefox).

Another way is to create local server (like Apache Tomcat) and put this report on server (you can set output folder to '\yourserver\reportfolder')