MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / report_test

Function report_test

_pydev_runfiles/pydev_runfiles_pytest2.py:274–281  ·  view source on GitHub ↗

@param filename: 'D:\\src\\mod1\\hello.py' @param test: 'TestCase.testMet1' @param status: fail, error, ok

(status, filename, test, captured_output, error_contents, duration)

Source from the content-addressed store, hash-verified

272
273
274def report_test(status, filename, test, captured_output, error_contents, duration):
275 """
276 @param filename: 'D:\\src\\mod1\\hello.py'
277 @param test: 'TestCase.testMet1'
278 @param status: fail, error, ok
279 """
280 time_str = "%.2f" % (duration,)
281 pydev_runfiles_xml_rpc.notifyTest(status, captured_output, error_contents, filename, test, time_str)
282
283
284if not hasattr(pytest, "hookimpl"):

Callers 2

pytest_collectreportFunction · 0.85
pytest_runtest_logreportFunction · 0.85

Calls 1

notifyTestMethod · 0.45

Tested by

no test coverage detected