github.com/icza/mighty (go): Package mighty is a lightweight extension to Go's testing package.  With this utility, you can make your Go test files super clean but still intuitive. This package doesn't want to hide complex things from you, but wants to eliminate repetitive, long code from your tests.  You could create a value of mighty.Myt and use its methods like m.Eq(), m.Neq(), ... etc. as seen below:  But the recommended, more intuitive and more compact way is to acquire and use method values returned by functions of mighty:  Without mighty it could look like this:  Using mighty:  Without mighty it could look like this:  Using mighty:  For more usage examples, check out the following packages which use mighty extensively in their testing code:  - https://github.com/icza/bitio  - https://github.com/icza/session  - https://github.com/icza/kvcache
Keywords: library|lightweight-extension|testing