Dev Seminar Project 2:
Testing and Preparation

Due: 11:59pm Feb 24

Summary: Now it is time to work with someone else's projects for real. We will have one more quick bit of work on testing and then dive into our real projects.


Part 1: clone the


project from github. There is one file with python code in it. There are no test cases. Add a second python file of (unit but mostly) functional tests for Also do one useful refactor of the code. Comment it with a comment #+++++++my refactor+++++++++++ at the top of your change and #-----------my refactor--------- at the end of it. Include a comment on why you think this is a good refactor. Zip up your version of your project (with your name in the zip file) and submit the zip file on blackboard by 11:59pm Feb24.

In your unit tests you don't need to bother with Mocks, but do make sure that your tests include some tests that test the end-to-end functionality including actually talking to stackoverflow itself.

To make your job a little easier, in your tests include the following: