[C++-sig] Outstanding Jobs for v2 release
David Abrahams
david.abrahams at rcn.com
Sat Jul 13 18:08:56 CEST 2002
From: "Achim Domma" <achim.domma at syynx.de>
> I will write some more tests. Is there a reason not to use unittest? Do
you
> prefer doctest?
The way you've currently written the tests, there's a lot of printing to
std::cout
and via Python print statements without any result checking. If there's a
problem with the result, I'll never know it. That's a good reason to use
doctest instead.
[I told you writing good tests would be the hard part -- except for
documentation, of course, which is the really hard part ;-)]
Another issue: functions such as str::startswith() should return bool
despite the fact that the Python versions return int.
-Dave
More information about the Cplusplus-sig
mailing list