Python Tutorial: Testing, Test Driven Development, py.test

Lillian Lemmer talks about testing and Test Driven Development (TDD) in Python at LeadPages (thanks, LeadPages!) about using py.test for testing Python code to assure software stability.

The example used for testing is a game where you eat sugary things until you lose all your enamel (effectively making enamel HP)! Lillian shows how the aforementioned is tested. The TDD part comes in when someone asks to show a Test Driven Development example where brushing your teeth restores enamel.

It’s about 20 minutes long, includes questions/comments from the crowd.

[youtube https://www.youtube.com/watch?v=dIIj3MRnGhs&w=560&h=315]

Here’s the repo being talked about in the video: https://github.com/LeadPages/tutorials

Leave a Reply

Your email address will not be published. Required fields are marked *