Post #438806
2026-02-21 05:36 UTC
Replies (3)
-
@floehopper@ruby.social 2026-02-21 09:56
@timriley If you need any help integrating with Mocha, let me know - I’d be happy to help
-
@oinak@ruby.social 2026-02-21 10:02
@timriley I use Minitest for everything ruby-off-work, and I missed just one tiny bit from rails-minitest, I have added a comment ( https://github.com/hanami/hanami-minitest/pull/3#issuecomment-3938540112 ) to your PR. I hope you like it.
-
@kerrick@ruby.social 2026-02-21 17:47
@timriley FWIW, I've found providing a mix-in module to be a reasonable alternative to struggling with base class names. For example: # frozen_string_literal: true require "test_helper" class TestHelloWorld < Minitest::Test include Rooibos::TestHelper def test_it_exits_with_ctrl_c with_test_terminal do inject_key(:ctrl_c) Rooibos.run(HelloWorld) assert true, "Should reach this point without hanging." end end end