Art of Unit Testing

rafi rafi at free.fr
Tue Aug 2 23:18:35 CEST 2005


rafi wrote:
> In order to unit test a function / method one should use mock objects, 
> otherwise you may not be sure that your code is faulty. 

'should' may be too strong, 'may' may be better. In the meantime I found:

	http://python-mock.sourceforge.net/

my 2 cents

-- 
rafi

	"Imagination is more important than knowledge."
	                            (Albert Einstein)



More information about the Python-list mailing list