Add script to combine coverage files (#10674)

* Add script to combine coverage files

* add script

* Add core coverage file as well

* Add json reporting

* Update README

* more
This commit is contained in:
Charles Gagnon
2020-06-02 12:53:58 -07:00
committed by GitHub
parent c057dddb25
commit 2879da5ca5
16 changed files with 71 additions and 18 deletions

View File

@@ -24,3 +24,9 @@ Code coverage is enabled by default. Reports can be found in the coverage folder
### Integration tests
These are the group of tests that have dependencies on outside resources such as SQL instances. See the [README](../extensions/integration-tests/readme.md) for more information.
## Code Coverage
To generate a report combining the code coverage for extensions + core run `node ./test/combineCoverage`. Currently this will combine coverage from the Core Unit Tests, Extension Unit Tests and Extension Integration tests - see above docs for instructions on how to run those to generate coverage.
Once ran the combined coverage report will be located in `./test/coverage`.