Repository navigation
Conversation
61fe608 to
8f78555
Compare
|
@flovogt Good news / bad news time. After creating several patches (now Several remarks :
{
"name": "@ui5/sample-app",
"version": "0.5.0",
"description": "Sample of an OpenUI5 app",
"private": true,
"engines": {
"node": "^20.11.0 || >=22.0.0",
"npm": ">= 8"
},
"scripts": {
"start": "ui5 serve --port 8080",
"lint": "eslint webapp && ui5lint",
"test-runner": "ui5-test-runner --url http://localhost:8080/test/testsuite.qunit.html --coverage-source-dir webapp --start \"npm start\" --start-wait-url http://localhost:8080 --coverage -ccb 100 -ccf 100 -ccl 100 -ccs 100",
"test": "npm run lint && npm run test-runner",
"build": "ui5 build -a --clean-dest",
"build-self-contained": "ui5 build self-contained -a --clean-dest",
"serve-dist": "ws --compress -d dist"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@ui5/cli": "^5.0.0-alpha.14",
"@ui5/linter": "^1.23.7",
"@ui5/middleware-code-coverage": "^3.0.0-alpha.1",
"eslint": "^10.14.0",
"globals": "^17.14.0",
"local-web-server": "^5.4.2",
"rimraf": "^6.1.3",
"ui5-test-runner": "^6.0.7"
}
}Output : |
|
Side note : the OPA page does not contain coverage data, seems to be related to the fact that the app is bundled (but I am not sure) |
|
@ArnaudBuchholz Thank you! I got it working but I see a mismatch in how the coverage configuration in the testsuite is treated by UI5 Test Runner. In webapp/test/testsuite.qunit.js the coverage reporting has disabled reporting for the test files. coverage: {
only: "sap/ui/demo/todo/",
never: "test-resources/sap/ui/demo/todo/"
},
loader: {
paths: {
"sap/ui/demo/todo": "../"
}
}This config seems to be ignored by UI5 Test Runner: |
|
@flovogt I will look into that |
0a432fc to
d6213e2
Compare
Created an issue for this UI5/cli-extensions#627. |
a24cb94 to
9dfa220
Compare
9dfa220 to
a76189c
Compare
Uh oh!
There was an error while loading. Please reload this page.