diff options
Diffstat (limited to 'functest/core')
-rw-r--r-- | functest/core/unit.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/functest/core/unit.py b/functest/core/unit.py index 515a2080..61b5a58d 100644 --- a/functest/core/unit.py +++ b/functest/core/unit.py @@ -74,8 +74,11 @@ class Suite(testcase.TestCase): stream=stream, verbosity=2).run(self.suite) self.__logger.debug("\n\n%s", stream.getvalue()) self.stop_time = time.time() - self.details = {"failures": result.failures, - "errors": result.errors} + self.details = { + "testsRun": result.testsRun, + "failures": len(result.failures), + "errors": len(result.errors), + "stream": stream.getvalue()} self.result = 100 * ( (result.testsRun - (len(result.failures) + len(result.errors))) / |