A rspec emoji formatter, for when you need more fun in your test's
Inspired by: https://gist.github.com/meesterdude/6112257
with help from: http://ieftimov.com/how-to-write-rspec-formatters-from-scratch
Install:
gem install rspeji
or add
gem "rspeji"
in your Gemfile.
once installed running rspeji from the terminal will print a list off all the available sets.
usage: with a random emoji set:
rspec --format Rspeji
with a specific emojiset:
EMOJI_SPEC=cats rspec --format Rspeji
Available Emoji sets:
| EMOJI_SPEC | Passed | Skipped | Failed |
|---|---|---|---|
| smiley | π | π° | π‘ |
| heart | π | π | π |
| smiley2 | π | π© | π π« |
| hand | π | π | π |
| moon | π | π | π |
| buildings | π© | π« | π₯ |
| woman | π | π | π |
| stock | π | π | π |
| monkey | π | π | π |
| cats | πΈ | π | πΎ |
| smell | πΊ | π | π© |
| fruit | π | π | π |
| speach | π | π¬ | π― |