Writing Unit tests and Functional tests in Python

Details
Writing Unit test and Functional tests in Python
Test Test Test! Writing test cases is one of the fun tasks while coding. Well written test case catch bugs, helps in refactoring the code and helps in building better code base.
During the workshop we will take small command line application which interacts with DB, External Service and business logic. The workshop will focus on writing unit tests and functional tests with py.test [1], mock [2].
The code for the workshop will be available in Github repo [3].
Topics
• unittest library features
• Introduction to py.test
• Fixtures
• Asserting exception
• Patching functions and methods
• Mocks/stubs
Instructor
Kracekumar - http://kracekumar.com
[1]: py.test: http://pytest.org/latest/
[2] mock: http://www.voidspace.org.uk/python/mock/
[3]: Repo: https://github.com/kracekumar/UTFT
Contact
Kracekumar: 85530 29521
Venue: http://www.openstreetmap.org/node/3198945390#map=16/12.9326/77.6035

Sponsors
Writing Unit tests and Functional tests in Python