benchmark-action / benchmark-action/github-action-benchmark

Prefer XML format for getting results from Catch2 output

Open
#12 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
1.3k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

Catch2 supports multiple reporters including XML reporter (the default value is console reporter). XML reporter is preferable because it is more sold and easy to parse. Console output for human may be cosmetically changed for readability.

```
$ ./Catch2_bench --reporter xml | tee output.xml
```

I want to add support for the XML format and encourage to use it rather than console output. Console output support for Catch2 will continue to be supported since it was already released (To change this v2 release is necessary). Parsing logic can be changed by checking first line is `



















```

[xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) seems suitable to parse XML easily.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.