Commit 7750707f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 321027be
...@@ -235,6 +235,21 @@ class LocalTestResultLine: ...@@ -235,6 +235,21 @@ class LocalTestResultLine:
st = 'fail' st = 'fail'
print('%s\t%s\t%.3fs\t# %st %se %sf %ss' % (st, self.name, kw['duration'], v('test_count'), v('error_count'), v('failure_count'), v('skip_count'))) print('%s\t%s\t%.3fs\t# %st %se %sf %ss' % (st, self.name, kw['duration'], v('test_count'), v('error_count'), v('failure_count'), v('skip_count')))
# XXX + dump .json ?
# well-known summary functions
def pytest_summary(out): # -> status_dict
# XXX
def unittest_summary(out): # -> status_dict
# XXX -> erp5.util.testsuite.EggTestSuite
pass
def gotest_summary(out): # -> status_dict
# TODO
pass
if __name__ == '__main__': if __name__ == '__main__':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment