r/MonthlyProgram • u/baffled_bear • Feb 29 '16
[February] End of Month Status Report: Unit Test Framework
It's the last day of February, which means that the target date for the project has been met. Since this is a personal project, and not something that was commissioned by a client, this does not mean that we stop work, however. Personally, I plan to make tweaks an updates as I think of them to make a more presentable project.
This does mean that it's time to relay what we ended up with at this point, as this is /r/MonthlyProgram.
3
Upvotes
6
u/baffled_bear Feb 29 '16
My final status can be found here. For those of you who missed it, I was posting as /u/hothrous before but am no using /u/baffled_bear, here.
Features:
CLI interface with a number of provided arguments available
Mutually exclusive arguments available for 3 different processes
Web based UI using Flask and Flask-WTF
A number of assert methods provided
UnitTest class for inheritance that automatically fits into the work flow
Annotation based test case creation
Limitations:
Strict structure on file locations
Each unit test class needs its own file
Lessons Learned:
Going into this I knew nothing about creating annotations/decorators/whatever your preferred name is. This project taught me a great deal about this. I also ended up working a lot more with wrappers than I had in the past, which I hope to be able to use in the future. This was also my first project using Python 3 instead of 2.7. I had done some small things with Python 3, but this was the first actual project. I also expanded my knowledge of Flask and CSS creating the web ui.
Final Thoughts:
This project was really great. It gave me the perfect outlet to build up my portfolio as well as highlighting some of my weaknesses to myself. I found a number of places where I would be able to improve my own development cycle when it comes to building apps like this. Especially in the planning stages. While, I may slack off on the occasional monthly program here, this definitely demonstrated how valuable working projects can be. Thanks to /u/Go1denW01f11 for setting this up.
2
u/Zillolo Python Mar 01 '16
Github
Not a lot to be said about it really. The README explains it pretty well I think. Overall I liked the project a lot. It wasn't too hard, but still had some challenges. Very good choice for our first project I must say.
2
u/Selachian Mar 02 '16
Honestly, I didn't really get started. I was really excited about it, but I didn't know what a unit test framework was before the month started and I didn't really throw my whole weight behind it. I'm very much a beginner programmer. I know a lot of algorithms and data structures, but, I don't know anything about actual programming to make things.
I'm excited for March though! I don't know much about what a "shell" is, but I'm excited to learn!