Short Ruby Newsletter

@shortruby.com

It is a Monday morning summary of the articles, discussions, and news from the Ruby community. Subscribe at newsletter.shortruby.com

Sponsoring @shortruby.com this week again, with updated messaging. It's now easier than ever to produce thousands lines of code at speeds that make automatic review needed even more. Undercover guides your coding agent to write complete and higher quality tests.

Good Enough Testing is all about helping developers make better decisions around what to test, how to test it, and when it’s enough. If you’ve ever struggled with overtesting, undertesting, or just feeling unsure if your tests are enough, this workshop might be for you.

Screenshot of intended audience

Based on last year's workshop feedback, this is a more pragmatic and action-oriented version. We will focus on practicing test design techniques while keeping a solid understanding of when and how to apply them.

Test Design Techinques learned during the Good Enough Testing workshop

After running five sessions of Good Enough Testing workshops last year, in the first months of this year, I decided to pause for a bit. The reason? I needed time to focus on my health. It was the right call. Now I am ready to come back with fresh energy and a new format.

As always, we have more links to newsletters, videos, podcasts, and articles. 🔍 Read the full newsletter for free at   This edition was possible with the great help of @vcosmin01.bsky.social who did the content editing of the full edition.

Short Ruby Newsletter - edition 127

The one where Sidekiq 8 is launched, where Kasper Timm Hansen is announcing a new workshop about Action View and where Adam McCrea launches PaaS Pricing Calculator

newsletter.shortruby.com

Your support will help us keep the newsletter running and try to expand to watch some other places where the Ruby community is sharing tips, tricks or discussing important topics - we need your support. Spread the word, upgrade to paid if you can afford it.

Let's discuss testing public methods versus private methods. Our focus is on verifying requirements. We aim to answer this question: Does our code correctly implement the requirements from a functional perspective?

Yes, based on the feedback from the first four workshop sessions, I've begun working on a "Good Enough Testing" book. If everything goes as planned, it should be ready in beta in March 2025. You can purchase it at a discount with any workshop session and receive early access.

If you are unsure when to stop writing tests or how to assess whether your colleague wrote enough of them, this workshop helps identify all possible tests depending on the chosen criteria and offers a simple algorithm to determine the minimum tests needed.

If starting testing feels overwhelming or you rely on inspiration, this workshop provides a systematic approach to start writing tests quickly. The workshop will teach you how to think about testing and improve test desgin skills.

Who this workshop is for If you struggle with writing tests or aren't sure if your tests are good enough, the #GoodEnoughWorkshop will guide you in designing test cases that are effective in catch bugs and efficient in verify requirements with minimal effort.