No commit activity in last 3 years
No release in over 3 years
A Minitest Reporter that Outputs to a Websocket
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

 Project Readme

Minitest::Reporters::Ws

The Minitest Formatter is working, but I need to work with the sinatra app to change the formatting of the results.

If you want to use it with Zeus, check out that branch

Minitest Websocket Reporter

ala https://github.com/RyanScottLewis/rspec-web

Add this to test/support/minitest_reporters.rb:

# may want to skip this for CI!
require "minitest/reporters"
require 'minitest/reporters/ws'
emoji = {
    'P' => "\u{1F49A} ", # heart
    'E' => "\u{1f525} ", # flame
    'F' => "\u{1f4a9} ", # poop
    'S' => "\u{1f37a} "} # beer

Minitest::Reporters.use! Minitest::Reporters::Ws::Reporter.new(emoji: emoji)

To run tests:

bundle install --binstubs
rspec-web
guard
# [enter]