List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie aber über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren
Newsletter abonnieren

Um aktuell die Informationen zu jeder Release - auch Minor Releases - zu bekommen, können Sie den
RSS-Feed abonnieren oder uns in sozialen Medien folgen.
Alternativ bietet QF-Test auch selbst eine Versionsinformation an.

Eine weitere Informationsquelle ist unser Blog, in dem es aktuelle Beiträge zu allgemeinen Themen, zur Firma QFS und auch diverse "How-Tos" gibt:
Blog abonnieren

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Possible enhancement

  • Subject: Re: [QF-Test] Possible enhancement
  • From: "Yann Spöri, QFS Support" <support@?.de>
  • Date: Thu, 20 Nov 2014 17:16:52 +0100

Hello Bryan,

First of all have a look at the "External data and special groups"
section in the manual [1]. QF-Test already provides some miscellaneous
statistical values. For example you can get the number of successful
test-cases in the current test-run with ${qftest:count.testcases.ok}.

Next you can write your own TestRunListener [2] for statistics that
QF-Test doesn't already provide. For example the following
TestRunListener counts the number of executed (check/event) steps - add
a Jython Server Script with the following content to your setup sequence:

    from de.qfs.apps.qftest.extensions.qftest import TestRunListener

    class StatisticTestRunner (TestRunListener):
        def __init__(self):
            self.allSteps, self.checkSteps = 0, 0
            self.eventSteps = 0
        def runStopped(self, event):
            print "steps: %s\ncheckSteps: %s" % (self.allSteps,
            print "eventSteps: %s" % (self.eventSteps)
            # reset counts
            self.allSteps, self.checkSteps = 0, 0
            self.eventSteps = 0
        def nodeEntered(self, event):
            self.allSteps += 1
            nodeType = event.getNode().getType()
            if (nodeType.startswith("Check")):
               self.checkSteps += 1
            elif (nodeType.endswith("EventStep") or nodeType ==
                self.eventSteps += 1

    global statisticTestRunner

    statisticTestRunner = StatisticTestRunner()



Am 18.11.2014 20:16, schrieb Kaufman, Bryan H (IS):

Has anyone ever asked for a feature that would report the number of test
steps executed in a test suite? It would be nice to know how many steps,
how many checks, the volume of testing being performed, etc. during a
test run. It seems like it could be good marketing as well, to be able
to express how much work is being performed by the automated testing tool.


Bryan Kaufman

Highly Satisfied QF-Test user since 2008

qftest-list mailing list


Get the most out of QF-Test - Support directly from the authors
* Training & consulting:
* Phone & email support:

Yann Felix Spöri

E: support@?.de
T: +49 (0)8171 38648-20
F: +49 (0)8171 38648-16

Quality First Software GmbH |
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Karlheinz Kellerer
HRB München 140833