istanbuljs / nyc

the Istanbul command line interface
https://istanbul.js.org/
ISC License
5.59k stars 359 forks source link

Code coverage for E2E automation tests #1567

Open arunakiran401 opened 3 months ago

arunakiran401 commented 3 months ago

Link to bug demonstration repository

How do we integrate this for tracking code coverage for E2E automation tests. The documentation is not clear on how to do it.

Expected Behavior

For example : I have UI repo which has the code to run my UI application. I have automation repo separately to run E2E browser test using webdriver.io or selenium.

In the above scenario , how do I use istanbul to check the code coverage ( what we need to is , are the E2E browser tests are covering my code ?)

Observed Behavior

Troubleshooting steps

Environment Information

# paste the output here
zhangtao25 commented 2 weeks ago

You can try canyon