Excited to announce that @tenderlove and I have released the first brand-new test runner for Ruby in… a decade? Longer?

It's called TLDR and you're going to have very strong opinions about it: https://blog.testdouble.com/posts/2023-10-03-introducing-the-tldr-ruby-test-framework/

The TLDR on Ruby's new TLDR testing framework

It's 2023, and it's time for a totally new way to run your tests. Here's how the new TLDR test runner can save you from a life of avoiding your slow tests

Test Double

@searls @tenderlove first commit 2023 https://github.com/joeldrapper/green_dots

Either way it’s cool though.

GitHub - joeldrapper/green_dots: A simple Ruby testing framework.

A simple Ruby testing framework. Contribute to joeldrapper/green_dots development by creating an account on GitHub.

GitHub
@Schneems @searls @tenderlove I see the *why* of tldr, but I am uncertain about the *why* of green-dots, is it faster/smaller than Minitest? Is it a mere exercise to explore how test suites work? Does it have a different internal approach even though the interface is seemingly convergent?
@Schneems @searls @tenderlove maybe I forgot to tag @joeldrapper on this question
@Schneems @searls @tenderlove there also is https://github.com/ioquatix/sus first commit november 2021. 😉
GitHub - ioquatix/sus

Contribute to ioquatix/sus development by creating an account on GitHub.

GitHub
@searls @tenderlove doesn't seem to work with minitest's spec style (i.e. describe/it) ?
@searls @tenderlove Doesn't everyone just run guard to constantly run the tests for the files they are editing every time a file is saved?
@searls @tenderlove @benoit hello you had me at “Because once your suite crosses the 1.8 second threshold, your test runner will be staring you in the face telling you that your tests didn’t fail, you did.”

@searls @tenderlove haha this is great. Wheres the rspec adapter? 👹

But for real, in a "typical" monolith getting a full suite running in under 2 minutes (parallel of course) is very doable. Or at least _some_ reduced version of the suite.

That plus guard make for a great combination. The hard part is the tooling, DB setup, and test hygiene to get there.

@searls @tenderlove has anyone used it on a real app in production? Seems wildly optimistic to think it won’t hide your regressions.

@searls @tenderlove Neat!

Another new one in the last decade: https://github.com/test-bench/test-bench

GitHub - test-bench/test-bench: Principled Test Framework for Ruby and MRuby

Principled Test Framework for Ruby and MRuby. Contribute to test-bench/test-bench development by creating an account on GitHub.

GitHub
@searls @tenderlove I posted this in the work slack yesterday (just the link with no comment) and it was like lighting a fuse and walking away. Recommended!

@searls @tenderlove

(only recommended we don't use it because we have some system specs that would definitely require `--yes-i-know` which defeats the benefit of this tool. I may use it for some smaller libs I write though!)

**A-PATZ & SURLY-J**

@searls @tenderlove as someone who (a) has also largely escaped the requirement to build real systems and (b) is officially* old and cranky… i mostly want the sandwich. expect my TS;R test framework soon

* credentials available upon request

@searls
@tenderlove Love it, but did I miss it or was the choice of specifically 1.8 seconds not explained? Why not 1.7 or 1.9?
@TrevorBramble @tenderlove it was not explained because there is no good explanation.
@searls @tenderlove Ooh I see you're using super_diff, glad you find it useful :) Let me know if you run into any issues. I admit I have been working on other projects as of late but happy to prioritize any changes you'd like made!
@mcmire @tenderlove thanks, Elliot! I followed some of the threads on RSpec and elsewhere about the gem and we were both really impressed by it. Glad to put it to use!