example-go icon indicating copy to clipboard operation
example-go copied to clipboard

Added codecov.io tests via JUnit tests conversion

Open nikolaydubina opened this issue 1 year ago • 3 comments

You guys are amazing! I have been long time advocate and implemented myself similar systems for Continuous Tests Monitoring as you guys just recently published. I already migrated all my open source Go projects (20+) to this setup and published how-to article in go-recipes (so expect more people will start using it soon! hehe).

Here I wanted to show how to do it in official example.

On choice of JUnit tests converter

  • gotestsum, it is widely used tool, but it is too big, it does other things too. it also requires non-github path for module, which raises eyebrows a little in open source Go community.
  • go-junit-report is developed by a guy from Google, which is nice. it is also very small and does one thing only for JUnit conversion, which is in spirit of UNIX philosophy. it also does not require any dependencies. so it is winner for me, albeit I mention other tool too in guide.
image

as for requests:

  • I think Timeline trend chart would be nice per test. (or at least histogram distribution of latency by time)

Thanks again! Nice work!

nikolaydubina avatar Aug 22 '24 09:08 nikolaydubina

cc: @thomasrockhu-codecov @arshamalh

nikolaydubina avatar Aug 22 '24 09:08 nikolaydubina

cc: @jstemmer

nikolaydubina avatar Aug 22 '24 09:08 nikolaydubina

@nikolaydubina thanks for this. I don't think we can merge this in as this has more functionality than we are expecting users when starting off using Codecov.

However, there might be something here with test results. I'm going to cc @rohan-at-sentry who might find this interesting

thomasrockhu-codecov avatar Aug 22 '24 19:08 thomasrockhu-codecov