chooper / restful-sqlite

Automatically exported from code.google.com/p/restful-sqlite
0 stars 0 forks source link

Write unit tests #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Unit tests need to be written for this project.

I'm thinking that the 'db' module can be tested independently of the web
module via pyunit, and then the web module can be tested with a simple
httplib-based testing process, probably also controlled through pyunit.

Original issue reported on code.google.com by hoop...@gmail.com on 28 Dec 2009 at 1:21

GoogleCodeExporter commented 9 years ago
This is in progress

Original comment by hoop...@gmail.com on 28 Dec 2009 at 1:26

GoogleCodeExporter commented 9 years ago
Most of the read-only DB functions have unit tests written now. Left to do is 
the
"write" methods (insert_record, update_record, replace_record, etc) and the unit
tests for the webservice 

Original comment by hoop...@gmail.com on 28 Dec 2009 at 5:39

GoogleCodeExporter commented 9 years ago

Original comment by hoop...@gmail.com on 28 Dec 2009 at 6:14

GoogleCodeExporter commented 9 years ago
insert_record done

Original comment by hoop...@gmail.com on 28 Dec 2009 at 6:23

GoogleCodeExporter commented 9 years ago
update_record done

Original comment by hoop...@gmail.com on 28 Dec 2009 at 6:57

GoogleCodeExporter commented 9 years ago
replace_record done

Original comment by hoop...@gmail.com on 11 Jan 2010 at 11:58

GoogleCodeExporter commented 9 years ago
delete_record done

Original comment by hoop...@gmail.com on 12 Jan 2010 at 12:10

GoogleCodeExporter commented 9 years ago
All DB functions have had unit tests written. Now the web functionality needs 
to have
tests written.

Original comment by hoop...@gmail.com on 12 Jan 2010 at 12:11