And so the day starts again, clean slate w.r.t. git, test cases, and now time to mess with things to bring a simple stand alone Flask application into doing more things.
Renderer
Renderer needs to be put in a class so not only can it be easily tested, but also more manageable for the future.
It is comprised of some standalone functions to deal with cleaning ampersands from the text, and a huge monolithic function called: build_resume.
It really should be renamed as render_resume.
Moved it into a class now and writing up additional test cases for going forward as I develop it.
Coverage
Enhanced coverage so I'm reasonably happy with the progress - the test did manage to push things further along with a flaw in the design.
No comments:
Post a Comment