catchorg / catchorg/Catch2

Stop test if CHECKs failed

Open
#1,622 7 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**
A sort of halfway thing between CHECK and REQUIRE: run the section until the end, but don't enter the same section again.

**Additional context**
I'm trying to do property based testing by having a generator generate 100 random values and checking that a certain property holds when calling a function on those values. I would like to only run this until the first failure is found, run all remaining checks for that value, and then stop trying new values.

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.