4

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

A report.html is created, however neither Firefox 3.6 nor IE8 are able to display anything but the headline "Test". When I look into the html-file it has some JavaScript stuff and test results, so there should be something to display.

As -chart is undocumented, I'm not sure I use it the correct way.

Any hints?

Thanks.

Simon
  • 1,616
  • 2
  • 17
  • 39

2 Answers2

2

Try using it in combination with the -xml option. I suspect the Javascript reads in an XML file to generate the chart, not sure though.

Also, it might have something to do with this Qt labs blog post: http://labs.trolltech.com/blogs/2008/12/05/qtestlib-now-with-nice-graphs-pointing-upwards

Ton van den Heuvel
  • 10,157
  • 6
  • 43
  • 82
0

How about looking into the produced HTML file with a text editor?

Other than that, reading the source code of QTest might help.

I assume it's some semi complete experimental feature.

BastiBen
  • 19,679
  • 11
  • 56
  • 86
  • As I wrote in my initial post i see some JavaScript stuff inside the produced HTML file. – Simon Mar 01 '10 at 12:03