web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

How do I get the LCOV report for the QUnit tests implemented using https://www.nexsoftsys.com/articles/unit-test-javascript-in-dynamics-365-using-xrmpage.html ?

(0) ShareShare
ReportReport
Posted on by 57

Hi,

I have created a sample Web Application for unit testing D365 Javascript Web Resources using XrmPage-Mock Framework & QUnit as shown in
www.nexsoftsys.com/.../unit-test-javascript-in-dynamics-365-using-xrmpage.html

I have used Blanket.js to show the code coverage in the browser. I want to get the code coverage for the Javascript Web Resources in SonarQube for which LCOV report is required.

I tried to implement github.com/.../qunit-reporter-lcov to get the LCOV report, but the QUnit.lcovReport = function(report) {
console.log(report.lcov); }; shows blank report.

How do I get the LCOV report for the QUnit tests implemented using www.nexsoftsys.com/.../unit-test-javascript-in-dynamics-365-using-xrmpage.html ?

Thanks.

I have the same question (0)
  • Nya Profile Picture
    29,060 on at

    Hi,

    Would you please specify which application you are using in Dynamics?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans