Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Remi Mercier
Remi Mercier
@remi@ruby.social  ·  activity timestamp 3 weeks ago

I have a confession: I'd never used Minitest in my 8 years as a #rubyonrails programmer. Always used *the other framework*.

But when I finally tried it, I hit an unexpected roadblock. Minitest's biggest weakness?

*Its onboarding is awful.*

The info is so scattered and sparse that navigating your tax returns feels friendlier in comparison.

  • Copy link
  • Flag this post
  • Block
Remi Mercier
Remi Mercier
@remi@ruby.social replied  ·  activity timestamp 3 weeks ago

What I needed as a Minitest newcomer: What does it do? Why? How?

What I got: congratulatory quotes, jokes about RSpec jokes, and defunct links disguised as documentation.

Turns out Minitest offers multiple syntax flavors. You can write the same test in several ways, sometimes mixing styles together. Coming from RSpec, this is kinda overwhelming.

  • Copy link
  • Flag this comment
  • Block
Remi Mercier
Remi Mercier
@remi@ruby.social replied  ·  activity timestamp 3 weeks ago

Despite the rough start, once you get past the onboarding mess, Minitest is actually quite neat.

If you're feeling lost with Minitest, I wrote down everything I wish someone had told me on day one.

https://remimercier.com/introduction-to-minitest/

Rémi Mercier - Software Developer

Lost in Minitest? Start here! - Remi Mercier - Software Developer

I have a confession to make: I have never used Minitest in the seven years I've been a professional programmer. Lured by the promise of speed and wide adoption, I decided to try Minitest. Then I hit an unexpected roadblock.
⁂
More from
Remi Mercier
  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct