diff --git a/src/commands.hxx b/src/commands.hxx index 71220f7..9010ecd 100644 --- a/src/commands.hxx +++ b/src/commands.hxx @@ -602,7 +602,8 @@ class Script: public QObject { xml::Node testcase("testcase"); try { testcase.attr("classname") = - xmlattr(_testclass.size()?_testclass:(*cmd)->file(), true).toStdString(); + xmlattr(_testclass.size()?"file: "+_testclass:(*cmd)->file(), true) + .toStdString(); testcase.attr("name") = xmlattr(QString("%1: %2") .arg((*cmd)->line())