Talking with my teammates I've noticed that there is some confusion related to 
what testing means and in general
how tests can improve the quality of the codebase by favouring the development 
of components that are of higher
quality - unluckily it doesn't favour hair regrowing. Tests are also cool 
because when done right they represent
an executable form of documentation.

Some intro material:

1 How to Write Clean, Testable Code by Miško Hevery (A Googler)

2 How to write testable code by Miško Hevery (hands on ;-))
  Examples are provided in Java but the same principles apply to Python
  as well.

3 TDD by James Shore (a practice created by Kent Beck)
  A broad article explaining TDD and related concepts.

4 Difference between state based testing and interaction based testing

Not so intro - but easier to understand after consuming previous material:

5 Mock Roles, not Objects by Freeman and Pryce
  They both wrote a very interesting book: Growing Object Oriented Software: 
Guided by Tests
  I didn't read it yet.

Points from 3 to 5 mostly describe a different kind of working practice, which 
is very
opinionated but nevertheless with some interesting ideas. I consider points 1-2 

Enjoy, Giuseppe

I will share new materials if there's some interest on it.
vdsm-devel mailing list

Reply via email to