mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-15 02:48:30 -05:00
Update readme for code coverage for integration tests (#10832)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user