Get help with testing, discuss unit testing strategies etc.


Post by akansha85 »

I am attaching the screenshot for console message and also the json format, so let me know in case you need more inputs.


Thanks,
akansha.
Attachments
coverage-data.txt
JSON data for the report html.
(12.95 KiB) Downloaded 294 times
screenshotForCoverageReport.png
screenshotForCoverageReport.png (123.31 KiB) Viewed 3091 times

Post by nickolay »

Try to open this url in the browser: https://localhost:8080/siesta-trial-45d/ ... _data.json

According to your screenshot, browser will give you 404 error, which means there's no file "coverage_data.json" in the "bin/save_it_here" folder. Please verify that file actually presents on that path.

Did you try to rename that file to ".js" extension?

Post by akansha85 »

I did try renaming the fie to ".js" extension , but still it is not able to load the data.Actually i do see the file in the "bin/save_it _here" folder , but as I browse the url the file is not available.So I am not sure what's issue here?

Post by akansha85 »

actually there was a typo in the json file, thats why report was not getting rendered in the browser.

Post by mats »

So now all is working ok?

Post Reply