Closed TamiTakamiya closed 3 months ago
This is for adding code coverage support to our UI tests and enable them in CI. This uses the new codo coverage support implemented on vscode-extension-tester.
Usage:
yarn install yarn webpack-dev yarn coverage-ui-with-mock-lightspeed-server
The html report is generated in out/coverage/ui-test. A sample output is shown as follows:
out/coverage/ui-test
Description:
This PR changes the location of lcov.info files. In a CI build, matrix names "test" and "test (macos)" will produce three lcov.info files:
These files are uploaded with codecov-action and merged into one report on the Codecov web UI.
For example the code coverage of playbookGeneration.ts is about 94% when these results are combined:
However, if only the e2e test result is selected,
The coverage goes down to about 11%:
This is for adding code coverage support to our UI tests and enable them in CI. This uses the new codo coverage support implemented on vscode-extension-tester.
Usage:
The html report is generated in
out/coverage/ui-test
. A sample output is shown as follows:Description:
This PR changes the location of lcov.info files. In a CI build, matrix names "test" and "test (macos)" will produce three lcov.info files:
These files are uploaded with codecov-action and merged into one report on the Codecov web UI.
For example the code coverage of playbookGeneration.ts is about 94% when these results are combined:
However, if only the e2e test result is selected,
The coverage goes down to about 11%: