QTestLib: undocumented command line argument -chart

In Qt 4.6, QTestLib supports the -chart command line argument (but this is undocumented).

The report.html file is created, however, neither Firefox 3.6 nor IE8 can display anything but the "Test" heading. When I look into the html file, it has JavaScript stuff and test results, so there should be something displayed.

As -chart is undocumented, I'm not sure I use it correctly.

Any clues?

Thanks.

+4
source share
2 answers

Try using it in conjunction with the -xml option. I suspect Javascript is reading in an XML file to create a diagram, but not sure.

Also, this may be relevant to this Qt labs blog post: http://labs.trolltech.com/blogs/2008/12/05/qtestlib-now-with-nice-graphs-pointing-upwards

+2
source

How about a search in a created text editor HTML file?

In addition, reading the QTest source code can help.

I guess this is a somewhat semi-complete experimental feature.

0
source

Source: https://habr.com/ru/post/1302726/


All Articles