How can debug my unit tests in GitLab? I want to be able to instantly see the route cause of the error.
Is it possible to instrument tests with APM agents to see traces?
Hi, do you have a concrete example of your unit tests / code in a repository, and how you execute them in your CI/CD pipeline?<p>> I want to be able to instantly see the route cause of the error.<p>If you're using JUnit test reports to collect the failed tests, I'd recommend adjusting the unit tests themselves and their failure output. Happy to help with code suggestions, if I know the language.<p><a href="https://docs.gitlab.com/ee/ci/unit_test_reports.html" rel="nofollow">https://docs.gitlab.com/ee/ci/unit_test_reports.html</a><p>You can see the failed jobs directly in the MR, similar to the screenshot in this presentation: <a href="https://docs.google.com/presentation/d/1jZYHIXjL6CDBQVblDvxUvBFl8Gbz4LTx5yCx-iwRsqg/edit#slide=id.g8e03e42a86_0_5" rel="nofollow">https://docs.google.com/presentation/d/1jZYHIXjL6CDBQVblDvxU...</a><p>> Is it possible to instrument tests with APM agents to see traces?<p>I'm not sure how traces with spans, context and start/end time could help. You're probably looking more into raw job logs and their output. Can you elaborate a bit more on this idea?