Solo Project
October 2019
Skills Utilized: Python, Regex
October 2019
Skills Utilized: Python, Regex
Introduction
Build Bot is a Discord bot designed to automate unit testing for assignments. During my academic semester, I encountered numerous assignments that required thorough testing beyond provided cases. After repeating a dozen of fix-test iterations, I decided to automate the testing process. This is how I started developing Build Bot. I went further and decided to make it available even to my classmates.
GitHub Link: https://github.com/yeshjho/Build_Bot
Showcase
↑ You send the assignment file and the rest is proceeded in an interactive manner.
↑ The case you have failed some tests.
↑ You can examine each of the test cases and what was the actual output for the failed ones.
↑ Use count summed up after the end of the semester using logs recorded from the middle of the semester.
Technical Highlights
Writing test cases
The test cases are mostly data-driven. You can add a file for an assignment and write down the pairs of the inputs and outputs in the file. If the format of the output is not specific, you can use the regular expressions. The program also provides some pre-built helper functions for the regex.
Conclusion
During a single semester, Build Bot got over 500 uses from the classmates. Continuous refinements were made based on user feedback and shifting assignment formats. This experience made me to realize the importance of adaptable code design, accommodating dynamic user requirements and changing environments.