QML Code Coverage Analysis

耗尽温柔 提交于 2019-12-05 12:31:07

问题


Are there any tools for performing code coverage analysis on QML code? Is such a question even applicable to a declarative language like QML?


回答1:


There was a talk recently on QtCon about C++ and QML code coverage. https://conf.qtcon.org/en/qtcon/public/events/407 (Open the page and click on video link to watch)

The talk was by Harri Porten who is co-founder and co-CEO of froglogic GmbH, a company which sells automated GUI testing tools. They also have a blog post about QML code coverage http://blog.froglogic.com/2014/10/measuring-qml-coverage/




回答2:


Classic coverage treatment of JavaScript and C++ does not have to be the end of QML coverage analysis.

For example, coverage of States is thinkable as well. Are all of them entered during test execution? That's what users of Coco filed as feature requests at least.



来源:https://stackoverflow.com/questions/21684010/qml-code-coverage-analysis

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!