google / google/googletest-rust

Add limit to the number of non-fatal assertions per test

Open
#766 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
432
Forks
36
Avg merge
7d 17h
Merged PRs (30d)
2

Description

Using `expect_*!` in loops may lead to explosion of output in case of failures. One might argue that anything past the first N failures has limited value. It would be nice to have some limit to the number of reported failures (possibly the rest could be reported as `and X more of the same kind`). Default should probably be some reasonable value and not "unlimited".

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.