Tests using SQLite

Gervase Markham gerv at mozilla.org
Tue Mar 11 11:44:55 UTC 2014


This idea has been running around my head for a bit...

Now that Bugzilla has SQLite support, can we use it for writing tests
which require a database? We could make a simple-ish test database as an
SQLite file, and then it would be possible to run read and even write
tests without damaging the user's real installation. The DB could be
reset after each test using source control commands.

This wouldn't have been nearly so easy with e.g. MySQL, but is with SQLite.

Is this a good idea?

Gerv
_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla



More information about the developers mailing list