Code Coverage in QML
-
wrote on 11 Apr 2019, 12:34 last edited by
Can anyone help me with how to do code coverage analysis in QML?
Any document or steps to be followed?
Which is the best tool for code coverage? -
Can anyone help me with how to do code coverage analysis in QML?
Any document or steps to be followed?
Which is the best tool for code coverage?wrote on 11 Apr 2019, 17:14 last edited by@JasmineSethi quick response: since QML is related to Javascript, from documentation:
QML has a deep JavaScript integration, and allows signal handlers and methods to be defined in JavaScript
I guess you may want to try a Javascript code coverage tool with QML
-
wrote on 11 Apr 2019, 19:31 last edited by
What is the definition of "Code Coverage"? Is this just unit testing or something more specific? There is a unit test library for QML.
-
What is the definition of "Code Coverage"? Is this just unit testing or something more specific? There is a unit test library for QML.
wrote on 12 Apr 2019, 04:21 last edited by@fcarney @Pablo-J-Rogina : Thanks for your response. But what exactly i want is :
Function coverage
Line Coverage
Statement Coverage
Decision Coverage (or Branch Coverage)
Condition Coverage
MC/DC – Modified Condition/Decision Coverage
MCC – Multiple Condition CoverageHow can we achieve this in qml?
-
@fcarney @Pablo-J-Rogina : Thanks for your response. But what exactly i want is :
Function coverage
Line Coverage
Statement Coverage
Decision Coverage (or Branch Coverage)
Condition Coverage
MC/DC – Modified Condition/Decision Coverage
MCC – Multiple Condition CoverageHow can we achieve this in qml?
wrote on 12 Apr 2019, 11:59 last edited by@JasmineSethi I recall Coco from Froglogic, maybe that tool can help you.
Disclaimer: I'm in no ways affiliated or endorse by Froglogic company.
-
wrote on 29 Jun 2020, 09:34 last edited by
Anything new about it 2020 ?
Coco is not well suited for opensource project.