feat: add reporter for salesforce apex

This commit is contained in:
Ross Reicks 2024-07-11 11:34:33 -05:00
parent 95058abb17
commit c4f7701aa1
9 changed files with 11991 additions and 5 deletions

View file

@ -19,6 +19,7 @@ This [Github Action](https://github.com/features/actions) displays test results
- Java / [JUnit](https://junit.org/)
- JavaScript / [JEST](https://jestjs.io/) / [Mocha](https://mochajs.org/)
- Swift / xUnit
- Apex / [JSON](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_testing.htm)
For more information see [Supported formats](#supported-formats) section.
@ -341,6 +342,16 @@ Please update Mocha to version [v9.1.0](https://github.com/mochajs/mocha/release
Support for Swift test results in xUnit format is experimental - should work but it was not extensively tested.
</details>
<details>
<summary>apex-json (Experimental)</summary>
Support for [Salesforce Apex](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_testing.htm)
```bash
sf apex test run --result-format json --wait 30 > test-results.json
```
</details>
## GitHub limitations
Unfortunately, there are some known issues and limitations caused by GitHub API: