Though not in the latest vCurrent code, we’ve managed to add cypress testing to our Aurelia project.
Next step we want to achieve is adding code coverage. For now it doesnt matter if the solution is a bare unit test or an e2e test with code coverage.
I’ve followed the instructions of https://github.com/cypress-io/code-coverage, but that was without success.
1 ) I think the instrument step is missing in the total process, but no clue yet on how to do that;
and 2 ) although the code-coverage/task was added to the plugin, there is no “AFTER-EACH” task for codeCoverage.
thanks for sharing. The setup with coverage might be interesting for the new documentation.
If i may ask, have you been able to test Drag & Drop with Cypress?
Thank you so much for this, it took me three days to come at this article. Your answer is a life saver, but I don`t know somehow coverage report is showing report of stubs and utilities not the actual code, why would this be.
It turns out that setting cypress code coverage for an angular application is so much painful, I am able to get my code coverage without using the mroeling solution even after my app uses es5. Its just you have to setup the cypress like bahmutov`s angular example, no extra config is required.