Gitlab provides option to mute/quarantine flaky tests as mentioned in GitLab Documentation. I Understand its not the best of practices but do want to explore it.
Some of the examples I was able to find are here - Quarantine tests that are very flaky but in rubi language. Please help to understand if that can be done in languages like C# (Dotnet) or Java. An example with that will be highly appreciated.
As per Documentation:
If the test cannot be fixed in a timely fashion, there is an impact on the productivity of all the developers, so it should be placed in quarantine by assigning the :quarantine metadata .
I am not able to figure out how we can do that in Tests using NUnit (dotnet) or JUnit(Java)