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]

XPlugins.iOS.BEMCheckBox v2.0.0 Released!

I’m happy to announce that XPlugins.iOS.BEMCheckBox v2.0.0 has been released! This a wrapper for the BEMCheckBox which lets you create highly customizable, animated checkboxes for iOS. You can find the v2.0.0 NuGet package here.

BEMCheckBox Example Gif

This release includes all the fixes to the underlying BEMCheckBox from v1.4.1 to v2.0.0. This includes the following breaking changes:

  • Minimum iOS version was increased from 8.4 to 12.

  • Events renamed:

    • DidTapCheckBox renamed to DidTap

    • AnimationDidStopForCheckBox to AnimationDidStopFor

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