google / google/fuzztest

Support printing values without Abseil

Open
#1,531 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.1k
Forks
137
Avg merge
3d 6h
Merged PRs (30d)
22

Description

I'm experimenting with using FuzzTest in https://github.com/webassembly/binaryen. We already use GoogleTest, but we don't use Abseil. Like FuzzTest, GoogleTest supports extensible printing using `AbslStringify`, but it also [supports](https://google.github.io/googletest/advanced.html#teaching-googletest-how-to-print-your-values) printing via user implementations of `PrintTo` or `<<`. Since our codebase does not use Abseil, implementing `AbslStringify` for our types is not an attractive option, so it would be great if FuzzTest supported printing via `PrintTo` or `<<` like GoogleTest. Without this, failing fuzz tests cannot usefully report the arguments that made them fail, which makes the fuzz tests themselves much less useful.

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.