On Wed, Jul 26, 2006 at 08:03:16AM +0300, Mircea Amarascu wrote:
> I've read the "Handling exceptions" topic on this mailing list
> (http://www.mail-archive.com/sqlobject-discuss%40lists.sourceforge.net/msg00975.html)
> and decided to take a step further and try to add a database exception 
> hierarchy to
> SQLObject

   Can you also add some tests? For example, add a duplicate record (key),
catch an exception and test that the exception is really... what should it
be? IntegrityError? ProgrammingError?
   SQLObject's tests (based on py.test framework) allow one to limit
platforms the tests are running on, so you can limit your tests to SQLite
and MySQL.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to