I have written methods to create/drop tables and add/remove columns of
these tables. This methods will return true/nil depending whether an
error is raised.
I’d like to test these methods, however, when the first time autotest
runs, it return a normal report, but later it repeats “uninitialized
constant Test (NameError)”.
This problem may be caused as the test database has been changed by
those database table manipulation methods, for example, while a table is
created from the test code itself, the second time this test,which try
to add a table with the same name, causes test fails.
Any good idea to test those database table manipulation methods?