apexTestRun
Runs Apex Test cases.
Target Properties
Property Name | Property Code | Required | Description |
|---|---|---|---|
Salesforce Account Code |
| Yes | Salesforce Account with all the required properties like User, Password, Client Id, etc. |
Salesforce Cli Path |
| No | The Salesforce CLI Path. (Eg: C:\Program Files\Salesforce CLI\bin) |
Cloud Account Properties
Property Name | Property Code | Required | Description |
|---|---|---|---|
Salesforce User Email |
| Yes | Authentication User Email. |
Salesforce Password |
| No | The Salesforce password for Salesforce User. If you are using a security token, paste the 25-digit token value to the end of your password. If you don't know the security token, see http://salesforce.stackexchange.com/questions/95259/where-is-reset-security-token-option-in-salesforce |
JWT Key File |
| No | Path to a file containing the private key |
Client Id |
| No | OAuth client ID (sometimes called the consumer key) |
Client Secret |
| No | OAuth client secret (sometimes called the consumer secret) |
Development Org Type |
| No | Enter Org type for Development Environment. Eg: Sandbox or DevHub or Developer Since 9.0.0.8 version, this property has been updated to a List data type and now accepts the following values
|
Salesforce URL |
| No | The login URL of the instance the org lives on |
Sandbox Name |
| No | The name of a Sandbox to access Note - It is required when Development Org Type is selected to Sandbox |
Security Token |
| No | Salesforce security token for Salesforce User. Refer Salesforce Password description. |
Inputs
Input Name | Input Code | Required | Description |
|---|---|---|---|
Salesforce Account Code |
| No | Salesforce Account Code |
Apex Test Class Names |
| No | Comma-separated list of Apex test class names to run. |
Apex Test Suite Names |
| No | Comma-separated list of Apex test suite names to run. |
Apex Test Names |
| No | Comma-separated list of Apex test class names or IDs and test methods, if applicable, to run. |
Apex Test Level |
| No | The permissible values for the Test Level to run are RunLocalTests, RunAllTestsInOrg, RunSpecifiedTests. |
Outputs
Output Name | Required | Description |
|---|---|---|
| No | Test Pass Percentage |
Artifacts
This operation doesn’t consume or produce any artifacts.
Endpoint Selection
This operation will select all available endpoints associated to the Target.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
- style