Add Markdown syntax highliting for test reports

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Description

Often, when I discover a bug in another team member code, I usually write a failing test, and opens a merge request for the failing test, putting the above team member as the assignee.

to make things easier, I also comment in the MR with the failing test report. currently, the output is pretty boring, since there is no "test-report" language to write after the 3 backticks.

current behaviour:

[info] - passing test
[info] - ignored test !!! IGNORED !!!
[info] - failing test *** FAILED ***
[info]   test failed, because: 
[info]     1 was not equal to 2
[info] ScalaTest
[info] Run completed in 10 seconds.
[info] Total number of tests run: 3
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 1, failed 1, canceled 0, ignored 1, pending 0
[info] *** 1 TEST FAILED ***
[error] Failed: Total 3, Failed 1, Errors 0, Passed 1, Ignored 1

Proposal

adding "test-report" (or, in my case "sbt-test-report") after the triple backticks,
will highlight the markdown code in a similar way to console output. e.g:
colored-tests-output

~"feature proposal"

Edited Aug 25, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading