I am trying to achieve code coverage for Frontend project, having java test automtaion using selenium. I have added below tasks in sonarqube pipeline.
When trying through test automation files, it is working fine. But when added project files, Its not getting executed and throwing below errors.
Please help me out how to get code coverage using maven, anything needs to be updated in pipeline.
Hi,
From your screenshot, coverage isn’t your main problem. Can you provide your full analysis log (in copy/pasted text rather than a screenshot)?
Also, just to be clear about your Selenium tests, you’ll need to get those test reports into a format analysis understands, probably the Generic Test Coverage format.
HTH,
Ann