Update readme for code coverage for integration tests (#10832)

This commit is contained in:
Charles Gagnon
2020-06-09 15:40:33 -07:00
committed by GitHub
parent 24e6ed5075
commit 6365bf515d
2 changed files with 8 additions and 0 deletions

View File

@@ -35,3 +35,9 @@ The integration test suite has been added to ADS windows pipeline to run the tes
1. Run the script to start the tests
1. Wait for the Window to reload (it does this after installing and activating the extensions)
1. Run the debug target - it should now attach to the Extension Host process and hit breakpoints set in the integration tests
## Code Coverage
Code coverage for these tests is enabled by default. After running the tests you can find the results in the `coverage` folder at the root of this extension.
This code coverage covers extension code only - it will not instrument code from the core.

View File

@@ -25,6 +25,8 @@ Code coverage is enabled by default. Reports can be found in the coverage folder
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 for this is also enabled by default (confined to the extensions), follow the instructions for running the tests in the above readme.
## 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.