gofuzz is a lightweight fuzzing utility for Go that rapidly generates randomized, edge-case-heavy inputs to populate structs, maps, slices, and scalar fields. It’s engineered to make property tests productive by automatically traversing nested types and supplying varied values, including zero values, extremes, and random strings or byte sequences. Because it respects Go’s type system, it can generate valid shapes for complex generic or composite types with very little setup. Users can register custom functions to influence how certain fields are constructed, which is useful for domains with strict invariants. The library’s determinism controls allow reproducible failures while still offering diverse coverage across runs. Teams reach for gofuzz to smoke out serialization bugs, panics in equality or hashing, and brittle assumptions in business logic.

Features

  • Automatic population of arbitrarily nested Go types
  • Tunable randomness with reproducible seeds
  • Custom field generators for domain-specific constraints
  • Great for property tests and fuzz-style input exploration
  • Minimal boilerplate to add broad input diversity
  • Helps uncover panics, serialization errors, and corner cases

Project Samples

Project Activity

See All Activity >

Categories

Software Testing

License

Apache License V2.0

Follow gofuzz

gofuzz Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of gofuzz!

Additional Project Details

Programming Language

Go

Related Categories

Go Software Testing Tool

Registered

2025-10-10