SaturdayMP Show #11: Refactoring System Tests for the Standard Ruby Linter Todo Bug

The system test is finally working!! I go over, again, why it’s important to make sure your tests fail. Now that the test is working I start refactoring it to remove duplicate code.

Spent longer then I would have thought trying to get a before setup method to work in MiniTest. During my investigation I think I got the JetBrains AI to suggest a fix for a MiniTest PR that was rejected which was interesting to see.

Read about the bug I’m trying to fix here.

Other videos fixing the Standard Ruby Linter Todo Bug:

Thanks to TestDouble for creating Standard! It is a great linter for Ruby projects.

Have question you want answered in a future video? A question I should ask you? Pair on a problem? Constructive feedback? Send an email to ask@saturdaymp.com.

Contact me if you need help shipping secure high quality software faster. See Saturday Morning Productions for more details.

This entry was posted in Code Examples, Saturday MP Show, Software Development and tagged , , , , . Bookmark the permalink.