catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Make approval tests also check compact reporter
- Commit
673dcc16a998db22e749e6c3177ec8038d5ac386- Author
- Martin Hořeňovský ·
- Parents
0c122c135d5a
Changes
scripts/approvalTests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py index 92a40a0e..e16f7140 100755 --- a/scripts/approvalTests.py +++ b/scripts/approvalTests.py @@ -167,6 +167,8 @@ def approve(baseName, args): print("Running approvals against executable:") print(" " + cmdPath) + +### Keep default reporters here # Standard console reporter approve("console.std", ["~[!nonportable]~[!benchmark]~[approvals]", "--order", "lex"]) # console reporter, include passes, warn about No Assertions @@ -177,6 +179,8 @@ approve("console.swa4", ["~[!nonportable]~[!benchmark]~[approvals]", "-s", "-w", approve("junit.sw", ["~[!nonportable]~[!benchmark]~[approvals]", "-s", "-w", "NoAssertions", "-r", "junit", "--order", "lex"]) # xml reporter, include passes, warn about No Assertions approve("xml.sw", ["~[!nonportable]~[!benchmark]~[approvals]", "-s", "-w", "NoAssertions", "-r", "xml", "--order", "lex"]) +# compact reporter, include passes, warn about No Assertions +approve('compact.sw', ['~[!nonportable]~[!benchmark]~[approvals]', '-s', '-w', 'NoAssertions', '-r', 'compact', '--order', 'lex']) if overallResult != 0: print("If these differences are expected, run approve.py to approve new baselines.")