1 Sep 2004 17:43
docutils/docs/dev testing.txt,1.4,1.5
Felix Wiemann <felixwiemann <at> users.sourceforge.net>
2004-09-01 15:43:21 GMT
2004-09-01 15:43:21 GMT
Update of /cvsroot/docutils/docutils/docs/dev In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8259 Modified Files: testing.txt Log Message: added some documentation about unit tests Index: testing.txt =================================================================== RCS file: /cvsroot/docutils/docutils/docs/dev/testing.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- testing.txt 29 Aug 2004 12:05:13 -0000 1.4 +++ testing.txt 1 Sep 2004 15:43:19 -0000 1.5 <at> <at> -20,7 +20,14 <at> <at> Unit tests test single functions or modules (i.e. whitebox testing). -XXX Some details to be written. +If you are implementing a new feature, be sure to write a test case +covering its functionality. It happens very frequently that your +implementation (or even only a part of it) doesn't work with an older +(or even newer) Python version, and the only reliable way to detect +those cases is using tests. + +Often, it's easier to write the test first and then implement the +functionality required to make the test pass.(Continue reading)
RSS Feed