Extension to Download Apex Test Class coverage as CSV
Apex test class coverage is vital for ensuring the reliability and robustness of your Salesforce applications. It’s not just a metric to fulfill, but a reflection of the quality of your codebase. In this guide, we’ll delve into the significance of test class coverage, why it matters, and most importantly, how to download and interpret it effectively.
Using Salesforce Dev Toolkit Chrome Extension

Though you can run Apex test classes in Salesforce and check the coverage, there is no straightforward way to download Apex Test Class coverage report. Having a list of apex classes and their coverage downloaded makes it easier for the dev team to keep track of classes and work on increasing the coverage.
With Salesforce Dev Toolkit chrome extension, you can get a 360 degree view of your orgs code coverage starting from org-wise coverage to individual class right on the same screen.
Download the Salesforce Dev Toolkit Chrome Extension

Visit chrome web store and search for Salesforce Dev Toolkit. Click on the install button to install the extension in your browser.
After the installation is complete, login to your salesforce instance where you can see the app launcher icon. Click on the icon to open the Apex Test execution window.
Click here to open the Salesforce Dev Toolkit chrome extension.
How to use the Salesforce Dev Toolkit
Once the chrome extension is installed, login to your Salesforce org and you can see an icon on the right hand side of your screen.

Once you click on the icon, a new page will open where you see different sections to tract and analyze Apex code coverage.
Screens and explanation of each section in the tool
The screen is divided into three vertical sections for better visibility on different aspects of the org wide code coverage.

The first section gives you the details about last executed test execution that was executed in the Salesforce. You can click on the refresh icon to get the latest status of the test execution.

The middle section gives you the list of all apex classes in the org and their code coverage. Classes which have coverage less than 75% are highlighted in red and the once above 75% are highlighted in green.
You can click on the external link icon to see the lines covered for the specific class.
Click on the refresh icon in this section to get the latest coverage after you have made changes to the test class. You can also download the test coverage as csv by clicking on the download icon.

The last section on the extreme right gives you the overall code coverage of the org as a donut chart.
Refresh the chart to get the latest coverage.
Conclusion
In conclusion, the significance of Apex class coverage in your Salesforce org cannot be overstated. It serves as a crucial measure to ensure the stability, reliability, and scalability of your applications. By thoroughly testing your Apex classes, you not only comply with Salesforce’s best practices but also guarantee a seamless user experience, free from unexpected errors and bugs.
Moreover, using Salesforce Dev Toolkits gives you a complete view of your organisation’s coverage and the ability to download it as a CSV file.
Feel free to download the chrome extension and give us your valuable inputs.