CI: update test report and coverage files
This commit is contained in:
+685
-6810
File diff suppressed because it is too large
Load Diff
@@ -1,2 +1,12 @@
|
||||
✅ Banner and log summary added to markdown report.
|
||||
✅ Report generated at ci-reports/markdown/TEST-REPORT.md
|
||||
Traceback (most recent call last):
|
||||
File "/workspace/tligui_y/slic/json_to_md.py", line 211, in <module>
|
||||
main()
|
||||
File "/workspace/tligui_y/slic/json_to_md.py", line 205, in main
|
||||
json_to_md_nested(args.input, args.output)
|
||||
File "/workspace/tligui_y/slic/json_to_md.py", line 109, in json_to_md_nested
|
||||
body_func += make_test_block(test, status, emoji, level=3)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/workspace/tligui_y/slic/json_to_md.py", line 47, in make_test_block
|
||||
for field, value in test[section].items():
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
AttributeError: 'str' object has no attribute 'items'
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
============================= test session starts ==============================
|
||||
platform linux -- Python 3.8.20, pytest-8.3.4, pluggy-1.5.0
|
||||
rootdir: /workspace/tligui_y/slic
|
||||
plugins: cov-5.0.0, metadata-3.1.1, allure-pytest-2.13.5, html-4.1.1, json-report-1.5.0, md-report-0.6.2
|
||||
plugins: html-4.1.1, metadata-3.1.1, allure-pytest-2.13.5, cov-5.0.0, md-report-0.6.2, json-report-1.5.0
|
||||
collected 49 items / 2 errors
|
||||
|
||||
tests/test_io_utils.py ..FFFFFF.F
|
||||
@@ -76,7 +76,7 @@ E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.fil
|
||||
functions/io_utils.py:2: FileNotFoundError
|
||||
____________________________ test_permission_error _____________________________
|
||||
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fca802a9f10>
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fbf67310cd0>
|
||||
|
||||
def test_permission_error(monkeypatch):
|
||||
# Patch open to raise PermissionError simulating access denial
|
||||
@@ -100,7 +100,7 @@ E PermissionError: Permission denied
|
||||
tests/test_io_utils.py:34: PermissionError
|
||||
_____________________________ test_mock_open_error _____________________________
|
||||
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fca80336160>
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fbf64ae2a00>
|
||||
|
||||
def test_mock_open_error(monkeypatch):
|
||||
# Mock open() to raise IOError simulating read error
|
||||
@@ -117,7 +117,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
return self._execute_mock_call(*args, **kwargs)
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
|
||||
self = <MagicMock name='open' spec='builtin_function_or_method' id='140507716286352'>
|
||||
self = <MagicMock name='open' spec='builtin_function_or_method' id='140460047476864'>
|
||||
args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError')
|
||||
|
||||
def _execute_mock_call(self, /, *args, **kwargs):
|
||||
@@ -143,7 +143,7 @@ E ValueError: I/O operation on closed file
|
||||
tests/test_io_utils.py:50: ValueError
|
||||
________________________________ test_os_error _________________________________
|
||||
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fca802a9f10>
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fbf647fc5b0>
|
||||
|
||||
def test_os_error(monkeypatch):
|
||||
# Patch os.remove to raise OSError simulating filesystem error
|
||||
@@ -311,7 +311,7 @@ tests/test_math_utils.py:106: StopIteration
|
||||
The above exception was the direct cause of the following exception:
|
||||
|
||||
cls = <class '_pytest.runner.CallInfo'>
|
||||
func = <function call_and_report.<locals>.<lambda> at 0x7fca807fe9d0>
|
||||
func = <function call_and_report.<locals>.<lambda> at 0x7fbf64ac09d0>
|
||||
when = 'call'
|
||||
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
|
||||
|
||||
@@ -440,7 +440,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
|
||||
name = 'non_existent_module_xyz'
|
||||
import_ = <function _gcd_import at 0x7fca84f1e4c0>
|
||||
import_ = <function _gcd_import at 0x7fbf696684c0>
|
||||
|
||||
> ???
|
||||
E ModuleNotFoundError: No module named 'non_existent_module_xyz'
|
||||
@@ -533,4 +533,4 @@ ERROR tests/test_collector_error.py
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
/workspace/tligui_y/slic/tests/test_string_utils.py:43: KeyboardInterrupt
|
||||
(to show a full traceback on KeyboardInterrupt use --full-trace)
|
||||
======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.71s =========
|
||||
======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.76s =========
|
||||
|
||||
Reference in New Issue
Block a user