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

This commit is contained in:
2025-07-19 20:02:05 +02:00
parent 2e4aadde26
commit 7697733207
+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"<details>\n <summary>📄 <span style='color: #003366; font-weight: bold;'>{filename}</span></summary>\n\n")
f.write(f"<details>\n <summary>📄 <strong style=\"color: #003366;\">{filename}</strong></summary>\n\n")
for funcname, tests in funcs.items():
# Ligne de fonction avec flèche et gris
f.write(f" ↳ <span style='color: #333333; font-weight: bold;'>Function:</span> {funcname}\n")
f.write(f" ↳ <strong style=\"color: #333333;\">Function:</strong> {funcname}\n")
# Tests indentés
for test in sorted(tests, key=lambda x: x['global_number']):