testify icon indicating copy to clipboard operation
testify copied to clipboard

Add Go fuzz tests for OSS-Fuzz integration

Open canolgun opened this issue 5 months ago • 0 comments

Adds Go native fuzz targets covering critical code paths.

Part of OSS-Fuzz integration (google/oss-fuzz#15667).

Fuzz targets (5):

  • FuzzAssertEqual — string assertion fuzzing (most-used testify function)
  • FuzzAssertJSON — JSON equality with arbitrary inputs
  • FuzzAssertYAML — YAML equality with arbitrary inputs
  • FuzzRequireInt — integer comparison assertions
  • FuzzElementsMatch — slice element matching

Fixed: //go:build go1.18 gate for pre-1.18 CI compatibility + gofmt.

Verified: go test -fuzz=. -fuzztime=30s

canolgun avatar Jun 11 '26 22:06 canolgun