Daily Dev Notes 2024/06/03
Finally got to 100% test coverage! This has been a great experience and I've learned so much about testing by divining into some gnarly edge-cases. It's also told me that even the bits of code that I thought I was properly testing, needed further tests to fully cover the edge-cases.
But it wasn't just missing tests, I found a bunch of bugs in my code. I realised I had hard-coded the blog title and paths in the feed generation code, and there were a bunch of other fixes I had to make to improve my code in most of the package.
Now that I've done this, I can focus on implementing some functional improvements. First up will be a new template tag for displaying post content so that I can remove some logic from the templates.
As a result of all the changes, I bumped the DJ Press version up to 0.3.4 and the GitHub workflows pushed the changes through to PyPi.