Skip to content

Commit fd54247

Browse files
authored
docs(tools): test coverage report (#13564)
Fixes: #11769
1 parent 7d591c2 commit fd54247

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

docs/07-development/10-testing.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,11 @@ Notes:
257257
258258
### Code coverage
259259
260-
Cypress tests automatically run with instrumentation switched on. To see the code coverage report, run the following commands:
260+
Cypress tests do not run with instrumentation by default. To enable it, check the package's `package-scripts` for the relevant flag.
261+
262+
**Note:** This flag is intended for local development only and is specific to the `@ui5/webcomponents` project internals. It must not be committed to the repository and must not be used in third-party packages.
263+
264+
To see the code coverage report, run the following commands:
261265
```sh
262266
# build the project
263267
yarn build
@@ -267,3 +271,5 @@ yarn test:cypress
267271
# start a static server in the `coverage` folder and inspect the results in the browser
268272
http-server coverage
269273
```
274+
275+
**Note:** The coverage report is generated automatically once the test command finishes. When running the full suite with `yarn test:cypress`, this may take a while.

0 commit comments

Comments
 (0)