We have developed a Freshservice application and have achieved more than 80% code coverage for the files related to our application. However, there is an issue with the code coverage report that includes a folder not related to our application. This unexpected folder inclusion is preventing us from achieving an overall code coverage of 80%.
Resolving this issue is of high priority for us, as it is blocking our ability to submit the application for review.
The FDK will automatically remove the files if they are not used anymore. Try rerunning the app and closing it to check if the unnecessary files get removed from the “/coverage” folder.
If not, you can please remove the folder that does not mirror the files that are present in your app.
@dhilip.kumaran Since you claim that these files are not available in your app and keep appearing after removal in the code coverage, it needs to be troubleshooted with your app to see where is it coming from and if it’s an issue in FDK side.
I have created this support ticket: #14916490 for our engineering team to take a look and revert to you within an SLA.
Our team had a call with the app developer and suggested creating a new folder, copying the necessary app files, and rerunning the FDK server. Then the team suggested to publish the app again with this new app folder as the issue is not repeated.