** SlothTest is an entertaining Go test runner! It adds color, emojis, sound effects, and humor to your test output. Perfect for developers who want to make testing fun again.
- Colorful Output: Green for passes, red for failures, yellow for skips.
- Emoji Explosion: Random emojis for every test result.
- Sound Effects: System beep on failures.
- Snarky Comments: Humorous messages for failed tests.
- Victory Dance: Animated party parrots on success.
- Watch Mode: Automatically rerun tests on file changes.
- Install SlothTest using
go install
:
go install github.com/antontuzov/slothtest@latest
go get github.com/antontuzov/slothtest@latest
# Basic test run
slothtest
# Watch mode (rerun tests on file changes)
slothtest -watch
# Watch mode with emojis and dance party
slothtest -watch -dance
-watch: Enable file watching mode.
-dance: Enable victory dance party on success.
-emojis: Enable emoji mode (default: true).
-nofun: Disable all fun features (why would you?).
🦥 SlothTest v1.0 - Go tests but sloooowly awesome!
✔ 🍕 mypkg 🎶🌈🪅
💤😴🌙 🦥 skippedpkg
✖ 💩 failingpkg "Maybe it's quantum entanglement? 🌀"
📜 === RUN TestBroken
📜 broken_test.go:10: Oh nooooo
🎉 Victory Dance Sequence Initiated!
🦜 Dance party complete! You rock! 🤘