New gitlab-test_metrics_reporting gem for shared test-reporting-metrics logic used by all test test level
We currently duplicate two RSpec formatters:
- https://gitlab.com/gitlab-org/gitlab/-/blob/master/spec/support/formatters/json_formatter.rb
- https://gitlab.com/gitlab-org/gitlab/-/blob/master/qa/qa/support/json_formatter.rb
which slowly drift appart if we don't pay attention.
In order to use the same formatter, we should extract the formatter to a new gitlab-test_metrics_reporting
gem.
See !150673 (merged) for inspiration in using an internal gem inside qa/
.
Edited by Rémy Coutable