catchorg / catchorg/Catch2

Provide an API to check whether a currently running test/section is successful or not

Open
#1,053 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
21.5k
Forks
3.5k
Avg merge
3d 16h
Merged PRs (30d)
2

Description

## Description
When the test fails, I would like to dump the state of something non-trivial, so the usual `INFO`-based logging wouldn't work for me.

There exist a something `Catch::getResultCapture().lastAssertionPassed()`, but it is only about the last assertion, isn't it?

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.