Unit testing in python?

Posted by yossi.ittach on Stack Overflow See other posts from Stack Overflow or by yossi.ittach
Published on 2010-03-22T08:11:00Z Indexed on 2010/03/22 8:21 UTC
Read the original article Hit count: 398

Filed under:
|

Hey - I'm new to python , and I'm having a hard time grasping the concept of Unit testing in python.

I'm coming from Java - so unit testing makes sense because - well , there you actually have a unit - A Class. But a Python class is not necessarily the same as a Java class , and the way I use Python - as a scripting language - is more functional then OOP - So what do you "unit test" in Python ? A flow?

Thanks!

© Stack Overflow or respective owner

Related posts about python

Related posts about unit-testing