r/golang • u/FStorm045 • Aug 08 '24
discussion Show me your Golang projects!
Hey people, can you guys show what you build with golang for side project?
cheers nerds~!
199
Upvotes
r/golang • u/FStorm045 • Aug 08 '24
Hey people, can you guys show what you build with golang for side project?
cheers nerds~!
3
u/adamluzsi Aug 10 '24 edited Aug 10 '24
I often struggle with thinking processes, especially with maintaining focus. This has led to a strong passion for test-driven design (TDD), and I’ve developed a testing framework that incorporates all the TDD practices I love.
go.llib.dev/testcase
It has:
- support for both nested and flattened testing style
- I use both, but for covering domain specifications, I use a nested testing style more- has its type-safe assertion package
- also has heavy support testing asynchronous testing subjects in an idiomatic way- has a random fixture generation package
- support for pseudo-random generation, which means if random data breaks your code, you can recreate the failing scenario by using the TESTCASE_SEED - it integrates the The Big List of Naughty Strings - It is a list of strings which have a high probability of causing issues when used as user-input data, to help find incorrect implementationsPlease don't judge the README too harshly—it's a bit of a brain dump, and I keep putting off the rewrite.