Skip to content

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.

Notifications You must be signed in to change notification settings

antontuzov/SlothTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SlothTest πŸ¦₯

** 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.


Example Output


Features ✨

  • 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.

Installation πŸ› οΈ

Option 1: Install Globally

  1. Install SlothTest using go install:
  go install github.com/antontuzov/slothtest@latest

Install in Your Project

  go get github.com/antontuzov/slothtest@latest

Run Tests with SlothTest

# Basic test run
slothtest

# Watch mode (rerun tests on file changes)
slothtest -watch

# Watch mode with emojis and dance party
slothtest -watch -dance

Flags

-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?).

Example Output πŸ–₯️

πŸ¦₯ 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! 🀘

About

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.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages