catchorg / catchorg/Catch2

Log the values returned by GENERATE

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

Description

Whenever I use `GENERATE`, I find myself using `CAPTURE` to log the generated value(s) to be able to pinpoint for which value a test case failed. It would be nice if `GENERATE` would automatically log the returned values (or create a `SECTION` for them) to make this clear in the default output.

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.