Elektrine lite

← Feed

@timriley@ruby.social

Post #1554825

2026-02-21 10:21 UTC

@floehopper Thank you! 😊 Is Mocha a pretty standard part of a Minitest user's toolkit? Maybe we should include it out of the box?

Replies (3)

  • @floehopper@ruby.social 2026-02-21 10:27

    @timriley I’m not sure that’s true - Minitest used to come with a simple mock implementation although it looks like it’s been split out in into minitest-mock now.

    Open ##1554826

  • @jardo@townwizard.net 2026-02-25 00:28

    @timriley @floehopper my two cents: many people will need or want the more powerful mocking tool. the people that have strong opinions about not using mocks much can still use minitest mocks or just not use mocha much in their tests.

    Open ##1554844

  • @PuercoPop@mastodon.social 2026-02-26 01:42

    @timriley @floehopper Hanami's dependency injection looks like something that could replace the need for mocking altogether

    Open ##1554845