Skip to content

[Bug]: GitHub reporter needs an additional newline after test details for markdown to display correctly #5022

@robertcoltheart

Description

@robertcoltheart

Description

The GitHub reporter needs an additional new-line after the test details <details> section, otherwise subsequent H3 headings for other files will not display correctly.

Fix:
New line after writing </details>

Expected Behavior

Files H3 headings should render correctly in markdown

Actual Behavior

H3 headings after </details> do not render correctly in GitHub actions summary

Steps to Reproduce

  1. Create multiple test assemblies
  2. Create a failing test in one assembly
  3. Observe github actions summary

TUnit Version

1.17.36

.NET Version

.net 9

Operating System

Windows

IDE / Test Runner

dotnet CLI (dotnet test / dotnet run)

Error Output / Stack Trace

Additional Context

No response

IDE-Specific Issue?

  • I've confirmed this issue occurs when running via dotnet test or dotnet run, not just in my IDE

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions