In order to run the unit tests, run dabo/tools/run_all_tests.py

> What should I do to add a test that tests the UPDATE command?

You mean the sql-update command, which is called in dCursorMixin.save().
So, you wouldn't be testing sql-update, but rather dCursorMixin.save()

and/or dBizobj.save()/saveAll().

> > Give me a rough version, I'll ask questions till I figure it out. > > once that loop is done, I'll summarize the thread on the wiki.

Add a method to the Test_dCursorMixin class, named test_save(). Then do some operations and test the results of those operations. For example:

<pycode> def test_save(self):

cur = self.cur # Make a change: cur.Record.cField = "Mary Jane" cur.save() cur.requery() self.assertEqual(cur.Record.cField, "Mary Jane"

</pycode> Of course, the test should also try changing multiple records, multiple fields, etc. etc.