Page 1 of 1

error on coverage cli

Posted: Sat Sep 19, 2020 1:22 am
by Hakim

Hi all,
I am facing an issue with the cli below

siesta-5.5.0-standard/bin/webdriver https://localhost:1841/myApp/test/Siesta/test.html --include UT --coverage-report-format=HTML --coverage-report-dir report --browser=firefox --headless

Here is the error:
Image

I can't understand why that's happening. It is used to work without any problem


Re: error on coverage cli

Posted: Mon Sep 21, 2020 7:28 am
by Hakim

Hi,
Any idea on the issue?


Re: error on coverage cli

Posted: Mon Sep 21, 2020 8:52 am
by Hakim

Hi,
In fact, a third-party library was used by one of developers in my team. I went deeper and figured it out. The library is

: with .js extension. It is just causes the error on generating report.
There is no problem when executing tests normally but report can't be generated . So, please consider those kind of issues in the next release.
Thanks


Re: error on coverage cli

Posted: Mon Sep 21, 2020 11:42 am
by nickolay

Hi,

If its a 3rd-party library, it can be excluded from the coverage report using the --nyc.exclude command line option.