Return to Home Page
      Blog     Consulting     Seminars     Calendar     Books     CD-ROMS     Newsletter     About     FAQ      Search
 

Any thought on using the standard Python unittest.py module? I'm just learning it, and am interested in your thoughts on it.

f  e  x


Your definitions of the Python classes

class UnitTest:
and
class TestDemo:

is mixing Python code and C++ code into a new Hybrid language that could appropriately be named 'LSD' (Leading to Serious Damage; at least to my brain!). And it does look like code written from either taking LSD or not getting any sleep for days!

Did you run UnitTests on this code??

Rick Falck

f  e  x


I'd strongly prefer to see use of the Python's unittest modules. If you have architectural concerns with them, maybe you could commit your fixes. :)

f  e  x


Looks like this chapter is not done and contains a mix of Python and Java code.

Have you looked at Python's doctest and unittest modules?

http://marc.abramowitz.info/archives/2006/04/13/python-doctest/

f  e  x



Add your comment below. Use an empty line between each paragraph. Paragraphs will be automatically formatted, and single carriage returns will be respected. Use <code> to begin a code block, and </code> to end a code block. Your email address will not be visible to spam harvesters or used in any way except to contact you with further questions.

Your Email Address:

Search     Home     WebLog     Consulting     Seminars     Calendar     Books     CD-ROMS     Newsletter     About     Contact     Site Design     Server Maintenance     Powered by Zope
©2007 MindView, Inc.