We are facing issues with the code coverage for the public app that we are working on. We have worked on the same code earlier and we are able to complete the coverage, but now we are running the code and it shows the lines are executed but the coverage is not moving forward. We are facing this issue for another public app as well. Please let us know how we can solve this ?
Yes, we have followed the steps which is mentioned in the document. And we also see the code coverage is increasing. But for few line alone though we run the app the code coverage doesn’t show as it’s been executed.
The app needs to be set up in local machine since we need to setup oauth and run the code, Can we connect over a quick call to demonstrate this, Please let me know further.
@hemakumar We don’t want to replicate the issue at the moment.
We want to see if the code is a platform framework code or custom code and how are you trying to cover them in your local testing.
If it’s an issue at FDK, it would help us to see which code is not being tracked and troubleshoot further on why. In that case, we could jump on a call over our office hours and try to unblock your progress.
The issue of coverage is resolved post upgrading to latest fdk version 8.3.0.
After upgrade remove the artefacts from coverage folder and also the report.json file from application root folder in your workspace.
@hemakumar As mentioned I was facing the same issue with my apps however the issue got resolved after the upgrade and cleaning my app’s coverage folder and report.json file. If possible, we can connect over a call and try to troubleshoot the issue.
I have sent you a private message to request your app and steps to reproduce the issue. Please help with it and we can confirm the issue and pass it to the relevant engineering team for the fix.