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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started 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