Exercise 8: Unit Testing

In this lab we will add some tests to our flask application.

Project work

By now you should have formed a project group, and begun discussing your ideas for the project. Your project should be registered using this application. If you haven't found a group partner yet, please see your lab demonstrator.

Adding in Tests

Continue with chapters 6, 7 and 8 of Miguel Grinberg's mega tutorial. This will create some more advanced models and add in some unittests.

Selenium

Download SeleniumIDE for your favorite browser and record some basic work flows for your web-page. If you're feeling ambitious, you can also try working through this Selenium WebDriver Tutorial.