SkillAgentSearch skills...

GetSFTestCoverage

Get Salesforce test coverage using jsforce

Install / Use

/learn @Lanceshi2/GetSFTestCoverage
About this skill

Quality Score

0/100

Category

Sales

Supported Platforms

Universal

README

Get Salesforce Test Coverage

A node js project which helps getting the test coverage from your Salesforce org

Screen shots

alt tag alt tag

Prerequisites

You need to ensure you have installed node js first. To download node js. Go to https://nodejs.org/en/

For Windows users, you need to install git for Windows to make npm install working. And make sure git.exe is in your path setting.

Usage

Download the .zip and unzip it. In your command line, go to the folder and type npm install to install all the required packages.

Run node coverageEngine.js, then your local node server is running.

In your browser, open http://localhost:3000/home. Input your Salesforce url: login.salesforce.com for production or developer edition or test.salesforce.com for Sandbox.

Then type in your user name and password. Note that password is actually your password + security token. Then click Retrieve Test Coverage Button.

After the process is completed. You can view the results by clicking Open result page button.

Contributors

Tony White (Tony.White@smsmt.com) has developed the engine part of the code, which gets the code coverage and generates result csv and html file.

License

MIT

Related Skills

View on GitHub
GitHub Stars14
CategorySales
Updated1y ago
Forks3

Languages

JavaScript

Security Score

75/100

Audited on Apr 20, 2024

No findings