Test Budget is a new open-source Ruby gem from Thoughtbot that acts as a linter for test suite performance. It reads RSpec JSON timing output and reports violations when individual tests or the full suite exceed configurable time budgets. The tool can auto-generate a starter config from existing test results, setting

4m read timeFrom thoughtbot.com
Post cover image
Table of contents
A linter for test performanceEstimating and enforcing your first budgetAllowlisting is temporary by designYou can’t afford slow testsIf you enjoyed this post, you might also like:

Sort: