Skip to content

The output of GitHubReporter is broken. #3858

Description

@kzrnm

The Markdown table generated by GitHubReporter is broken. It seems the <pre> tags inside the table are causing the issue, so it would be better to output it as HTML instead.

Here’s an example.

https://github.com/kzrnm/SourceExpander/actions/runs/19408268177/jobs/43261797336/summary_raw

Example

Markdown

| Test | Status | Details | Duration |
| --- | --- | --- | --- |
| EmbeddingGzipBase32768 | Failed | <pre>TUnit.Engine.Exceptions.TestFailedException: FileNotFoundException: Could not load file or assembly 'Base32768, Version=2.0.2.0, Culture=neutral, PublicKeyToken=3a01cb9baf5db74f'. The system cannot find the file specified.
 <br>    at SourceExpander.SourceFileInfoUtil.ToGZipBase32768(String code) in /_/Source/SourceExpander.Share/Util/SourceFileInfoUtil.cs:line 12
 <br>    at SourceExpander.SourceFileInfoUtil.ToGZipBase32768(String code) in /_/Source/SourceExpander.Share/Util/SourceFileInfoUtil.cs:line 12
 <br>    at SourceExpander.Generate.Config.EmbeddingTypeTest.EmbeddingGzipBase32768() in /_/Test/SourceExpander.Embedder.Test/Generate/Config/EmbeddingTypeTest.cs:line 467</pre> | 00:00:00.0016242 |
Test Status Details Duration
EmbeddingGzipBase32768 Failed
TUnit.Engine.Exceptions.TestFailedException: FileNotFoundException: Could not load file or assembly 'Base32768, Version=2.0.2.0, Culture=neutral, PublicKeyToken=3a01cb9baf5db74f'. The system cannot find the file specified.

at SourceExpander.SourceFileInfoUtil.ToGZipBase32768(String code) in /_/Source/SourceExpander.Share/Util/SourceFileInfoUtil.cs:line 12

at SourceExpander.SourceFileInfoUtil.ToGZipBase32768(String code) in /_/Source/SourceExpander.Share/Util/SourceFileInfoUtil.cs:line 12

at SourceExpander.Generate.Config.EmbeddingTypeTest.EmbeddingGzipBase32768() in /_/Test/SourceExpander.Embedder.Test/Generate/Config/EmbeddingTypeTest.cs:line 467
00:00:00.0016242

Raw html

<table role="table" tabindex="0">
<thead>
<tr>
<th>Test</th>
<th>Status</th>
<th>Details</th>
<th>Duration</th>
</tr>
</thead>
<tbody>
<tr>
<td>EmbeddingGzipBase32768</td>
<td>Failed</td>
<td><pre>TUnit.Engine.Exceptions.TestFailedException: FileNotFoundException: Could not load file or assembly 'Base32768, Version=2.0.2.0, Culture=neutral, PublicKeyToken=3a01cb9baf5db74f'. The system cannot find the file specified.
    at SourceExpander.SourceFileInfoUtil.ToGZipBase32768(String code) in /_/Source/SourceExpander.Share/Util/SourceFileInfoUtil.cs:line 12
    at SourceExpander.SourceFileInfoUtil.ToGZipBase32768(String code) in /_/Source/SourceExpander.Share/Util/SourceFileInfoUtil.cs:line 12
    at SourceExpander.Generate.Config.EmbeddingTypeTest.EmbeddingGzipBase32768() in /_/Test/SourceExpander.Embedder.Test/Generate/Config/EmbeddingTypeTest.cs:line 467</pre></td>
<td>00:00:00.0016242</td>
</tr>
</tbody>
</table>
Test Status Details Duration
EmbeddingGzipBase32768 Failed
TUnit.Engine.Exceptions.TestFailedException: FileNotFoundException: Could not load file or assembly 'Base32768, Version=2.0.2.0, Culture=neutral, PublicKeyToken=3a01cb9baf5db74f'. The system cannot find the file specified.
    at SourceExpander.SourceFileInfoUtil.ToGZipBase32768(String code) in /_/Source/SourceExpander.Share/Util/SourceFileInfoUtil.cs:line 12
    at SourceExpander.SourceFileInfoUtil.ToGZipBase32768(String code) in /_/Source/SourceExpander.Share/Util/SourceFileInfoUtil.cs:line 12
    at SourceExpander.Generate.Config.EmbeddingTypeTest.EmbeddingGzipBase32768() in /_/Test/SourceExpander.Embedder.Test/Generate/Config/EmbeddingTypeTest.cs:line 467
00:00:00.0016242

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions