[TIP] Behavior Driven Development (was TDD)

Michael Foord fuzzyman at voidspace.org.uk
Mon Mar 5 14:50:01 PST 2007


Kumar McMillan wrote:
> sorry for the confusion.  I'm no expert on BDD.  And yes, after
> re-reading their site, http://behaviour-driven.org/ , they do advise
> making mock objects for all dependencies.  I just thought that was
> because the examples were in java :)  Like a few people pointed out,
> this is dangerous because the more mocking you do the farther away you
> get from the "production" environment.
>
>   
Mocking is standard agile testing, because you isolate the units you are 
testing.

Fuzzyman





More information about the testing-in-python mailing list