Re: [Ledger-smb-devel] Data base sanity checks

2012-12-02 Thread Chris Travers
Our sanity checks right now are limited to the tests in t/43-dbtest.t and defined in the files of sql/modules/test/ These tests are not comprehensive. We don't test to make sure that every table is created, etc, but generally if you are missing a table you are going to get errors somewhere, since

[Ledger-smb-devel] Data base sanity checks

2012-12-01 Thread Berend Tober
I know there was a discussion about incorporating pg-tap into LedgerSMB, but I imagine that will require some longer-term effort. I am wondering if in the mean time there would be a good way to perform some basic automated sanity checks indicating the prepare-database has done everything it is