2025-07-05 MyCmd and MyProject Weekly Progress Report: 2025 Week 27

MyCmd and MyProject Weekly Progress Report: 2025 Week 27

MyCmd Demo

After having the satisfaction of having instrumentation and reporting of code coverage of my testing in MyProject, I wanted to have the same for MyCmd as well. Therefore, my demoable goal for this week was to be able to execute the MyCmd build process and show the code coverage.

I am currently at 68.94% code coverage, and this is without adding any new tests this week to MyCmd.

This Week’s MyCmd Updates

This week I pushed 16 commits to MyCmd, including the following changes:

I especially like my rewrite of the coverage reporting that uses state machines to detect and update multi-line statements.

This Week’s MyProject Updates

This week I pushed 5 commits to MyProject, mostly bringing updates that I made over in MyCmd back to MyProject, including the following changes:

Next Week

I realized this week that I needed a good way of testing invocation of CLI tools and not just the library code. I’ve started designing a small system for using snapshot testing or golden file testing. I made some notes about how I want this to look and will work on implementing this next week. This will help me close the gap on code coverage, specially in testing things that are purely producing output. Once I get this working, I will make another snapshot of MyCmd to use locally to then use in testing MyProject.


All of my MyCmd and MyProject Weekly Progress reports will be linked from here.