Package install :: Package MoSTBioDat :: Package DataBase :: Package ForgetSQL2 :: Module testforgetsql2
[hide private]
[frames] | no frames]

Module testforgetsql2

source code

Tests for forgetSQL2.

By itself this module will test using temporary sqlite databases and the
accompanied test-data.sql.

Testing with MySQL host=localhost user=stain pw=(blank) db=test:
    ./testforgetsql2.py --mysql localhost,stain,,test

Testing with PostgreSQL host=localhost
    ./testforgetsql2.py --postgresql 'host=localhost' 

Classes [hide private]
  TestFramework
  TestTestFramework
  TestDBConnect
  TestDatabase
  TestTableBuilder
  TestBuiltClass
  TestSave
  TestGenerate
Functions [hide private]
 
main() source code