gofuzz
Fuzz testing for go. (by google)
truthy
Package truthy provides truthy condition testing with Go generics (by earthboundkid)
gofuzz | truthy | |
---|---|---|
3 | 6 | |
1,478 | 33 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | 4 months ago | |
Go | Go | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gofuzz
Posts with mentions or reviews of gofuzz.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-24.
-
What are your strategies to prevent nil pointers errors in your code base?
Also, with some of the fuzzers available, you can actually generate structs and specify the nil chance like https://github.com/google/gofuzz
-
naive question regarding Fuzz testing de/serialisation
For GoFuzz
-
Web request fuzzer with go
Take a look at https://github.com/google/gofuzz and https://github.com/dvyukov/go-fuzz
truthy
Posts with mentions or reviews of truthy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-24.
-
What are your strategies to prevent nil pointers errors in your code base?
I personally always make sure that, if I have a function that creates the struct, I define all of the fields. When I don't a) have control over that or b) have a function to init the struct, I typically end up using a new package called truthy that is built on generics and tells me the truthy value of the variable, kind of like Boolean(value) in javascript.
-
What annoys you about Go?
They didn't have a ternary. ;-)
- Fun with Go generics: a package to add truthy conditionals
- Using generics to create truthy condition testing helpers
- truthy condition testing using Go generics
-
Three Things Go Needs Right Now More Than Generics
If you have generics, you don’t need ? because you can write truthy.Cond(cond, ifVal, elseVal) instead.
What are some alternatives?
When comparing gofuzz and truthy you can also consider the following projects:
go-fuzz - Randomized testing for Go
gojq - JSON query in Golang
Tavor - A generic fuzzing and delta-debugging framework
go-cmp - Package for comparing Go values in tests
prettybenchcmp - cmd tool for automatic storage and comparison of benchmarks results
cgscript
realize - Realize is the #1 Golang Task Runner which enhance your workflow by automating the most common tasks and using the best performing Golang live reloading.
JSON-to-Go - Translates JSON into a Go type in your browser instantly (original)
assertion - lightwight test environment
windigo - Windows API and GUI in idiomatic Go.
Fake - Fake data generator for Go (Golang)
httpexpect - End-to-end HTTP and REST API testing for Go.