Skip to content

Commit 463f4ff

Browse files
committed
feat(sonar): ajoute la possibilité de faire 2 type de report via la commande nodejs
1 parent 0adf92b commit 463f4ff

6 files changed

Lines changed: 6727 additions & 32 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ coverage
1212
reports
1313
screenshots
1414
.DS_Store
15-
videos
15+
videos
16+
report_final

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"<node_internals>/**"
1313
],
1414
"program": "${workspaceFolder}\\src\\cli.js",
15-
"args": ["--srcLighthouse", "./example/lighthouse", "--srcEcoIndex","./example/ecoindex" ,"--reports","html", "--outputPath" , "./example/report_final"]
15+
"args": ["--srcLighthouse", "./example/lighthouse", "--srcEcoIndex","./example/ecoindex" ,"--reports","[\"html\",\"sonar\"]", "--outputPath" , "./example/report_final", "--sonarFilePath", "./sonarReport.json"]
1616
}
1717
]
1818
}

cypress-demo/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = {
1010
(_options, result) => {
1111
console.log(result);
1212
},
13+
"sonar",
1314
],
1415
verbose: true,
1516
srcLighthouse: lighthouseOutputPathDir,

0 commit comments

Comments
 (0)