catchorg / Catch2

A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
https://discord.gg/4CWS9zD
Boost Software License 1.0
18.31k stars 3.02k forks source link

Add option for TeamCity reporter to report SECTIONs #1879

Open heidemn opened 4 years ago

heidemn commented 4 years ago

Description The JUnit reporter reports SECTIONs. The TeamCity reporter does not. Not sure if reporting SECTIONs should always be enabled, but could there be at least an option?

Except for this, I would very much like to use the TeamCity reporter, since it seems to use a lot less memory compared to the JUnit reporter (10 MB vs. 4 GB in my case).

Additional context Tried with latest version, Catch2 2.11.1.

Compare JUnit report: image

...with TeamCity report: image

PhilipSoDisguise commented 1 year ago

Hi, I have the exact issue going on, any update on this as of 2023? Thank you

horenmar commented 1 year ago

We now support a per-reporter options, so I would accept a PR that makes this change.