Woah Oh!
October 29th, 2021We’re halfway there.
In my infinite wisdom I figured we had more than enough time even with slippage factored in and that we’d be looking at stretch goals in a couple weeks. This, as you may imagine, is not the case. Environment setup took much more time than it should have and a host of other means of losing hours have piled up. As it sits I’ll be working through the weekend to get to where I really need to be and do the documentation for the midpoint checking.
This last week has had a lot of time consuming work that isn’t very interesting to blog about. The biggest accomplishment was building a proper API document for all of the microservice routes. I had a cliff notes version from our planning sessions, but with taking Cloud Development in parallel I finally saw what a real one is like and saw why it should be that way. Lots of time sunk, some good discussion with teammates to hammer out details, but not really any lessons to share beyond an example of the format.
On the code front, I’ve been wallowing through the mire of integration testing. My first pass had the dummy logic for returning hardcoded responses matching the expected format directly in the Gateway service. Obviously that won’t do long term, so it was time to rip out the logic into other services and get the redirect party started. Mocha/Chai unit testing went well. Too well. Despite me having already struggled through silent false positives last week, a new crop showed up with the redirect routes. As it turns out, I had been missing the ‘return’ in front of Promise-based tests I was doing. With that smoothed over, I am currently left with a heap of issues requiring more refactoring to get back on track.
So yeah, I get to spend the weekend beating my head against basic integration testing and documenting what little I have so far.