diff --git a/test/runner/runner_js.py b/test/runner/runner_js.py index 02a2b5057eaf5bf3ee51d2a2fd2ec0c2130d414e..8cefcaef6e7344032d71f8a5d7470d28bd93d712 100644 --- a/test/runner/runner_js.py +++ b/test/runner/runner_js.py @@ -150,10 +150,18 @@ class RunnerJS(Runner): tests_list.sort(key=lambda t: t.path) print("# " + name) for test in tests_list: - print(test.path) if self.args.error: + print(f"--- {test.test_id} --->: ") print("steps:", test.reproduce) - print(test.report.error if test.report is not None else "") + if test.report: + print("expected output:", test.expected) + print("actual output:", test.report.output) + print("actual error:", test.report.error) + print("actual return code:", test.report.return_code) + else: + print("no information about test running neither output nor error") + else: + print(test.test_id) print("") def summarize_test_statistics(self):