Elektrine lite

← Feed

@timriley@ruby.social

Post #438806

2026-02-21 05:36 UTC

🙋 Minitest users, I need your feedback on Hanami’s upcoming Minitest support! https://discourse.hanamirb.org/t/feedback-on-hanami-minitest/1415 #ruby #minitest

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

    Open ##1554824

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

    Open ##1554847

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

    Open ##1554849