Past Meetup

Writing Unit tests and Functional tests in Python

This Meetup is past

99 people went

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:[masked]

Venue: http://www.openstreetmap.org/node/3198945390#map=16/[masked]/[masked]

https://www.google.co.in/maps/place/IBC+Knowledge+Park/@12.92358,77.6013025,15z/data=!4m5!1m2!2m1!1sred+hat,+Bannerghatta+Road+IBC+Knowledge+PArk!3m1!1s0x3bae15ade4ffe8af:0xe1f7620fe73e700e