Update json_to_md.py
Run Pytest with HTML and XML Test Reports / tests (push) Successful in 24s

This commit is contained in:
2025-07-19 20:48:50 +02:00
parent 1cd1ad9ccf
commit 2e9bcc10fa
+2 -2
View File
@@ -170,11 +170,11 @@ def json_to_md_nested(json_path, md_path, runtime_params=None):
for filename, funcs in grouped.items():
f.write(f" - <details>\n")
f.write(f' <summary>📄 <span style="color: #311B92; font-weight: bold">{filename}</span></summary>\n\n')
f.write(f' <summary>📄 <span style="color: #0019FF; font-weight: bold">{filename}</span></summary>\n\n')
for funcname, tests in funcs.items():
# Ligne de fonction avec flèche et gris
f.write(f' ↳ <span style="color: #303F9F; font-weight: bold">Function: {funcname}</span> \n')
f.write(f' ↳ <span style="color: #0092FF; font-weight: bold">Function: {funcname}</span> \n')
# Tests indentés
for test in sorted(tests, key=lambda x: x['global_number']):