Saturday MP Show #13: Merge Conflict when trying to create a PR for the Standard Ruby Linter Bug

I attempted to create a pull request (PR) for the Standard Ruby Linter bug I’ve fixed but ran into a merge conflict. Didn’t create the PR but did figure out the solution to the merge conflict that will be fixed in the next video.

Read about the bug I’m trying to fix here. Other videos fixing the Standard Ruby Linter Todo Bug:

[Read More]

Saturday MP Show #12: Refactoring of a System Test While Fixing the Standard Ruby Linter ToDo Bug

Getting to the end of fixing the Standard Ruby Linter ToDo bug. In this video I refactor and remove duplicate code from a system tests that are similar. It goes well for the most part. The only hiccup is the trying to figure a way to run setup code once for all the tests in the file.

[Read More]

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 More]

Saturday MP Show #10: Finally get the System Test Working for the Standard Ruby Linter ToDo Bug

I get my system test working at the start of video but the problem is it works so well that it still passes even after I re-introduce the bug when it should have failed. Crap! That means my test is not working correctly.

I spend the rest of the video trying to figure out why the test is not failing when it should and get very frustrated. So frustrated this became my longest video yet at over two hours! End up digging into the RuboCop code to try and figure out what is going on. I do figure out the problem at the end of the video in a ah-ha moment. Spoiler: the problem was I didn’t link to the Standard config file correctly.

[Read More]

Saturday MP Show #9: Add 1.9 (e.g. almost 2) System Tests for the Standard Ruby Linter ToDo Bug

I get one system test working for generating the todo file and almost get the second test working. The second test that actually tests the bug we fixed. Went down a bit of rabbit hole trying to get the optimal Ruby file/directory manipulation code.

I also spent some time trying out JetBrains new coding AI. It has some issues but also lots of promise.

[Read More]