2 ms·
The API and output on failure from Perl's Test2-Suite (https://metacpan.org/dist/Test2-Suite https://metacpan.org/dist/Test2-Suite) is amazing. I miss it in eve
by autarch 3y ago
The API and output on failure from Perl's Test2-Suite (https://metacpan.org/dist/Test2-Suite https://metacpan.org/dist/Test2-Suite) is amazing. I miss it in every other language I work in, especially Go and Rust, both of which have fairly anemic tooling for this stuff compared to Perl.
I've tried making something similar in Go (https://pkg.go.dev/github.com/houseabsolute/detest/pkg/detest https://pkg.go.dev/github.com/houseabsolute/detest/pkg/detes...) but the language makes having as nice an API impossible, and I really don't love what I've come up with there. The output from detest is pretty nice though (until it wraps lines in which case it's a mess).