Skip to content

Starting a test framework

David Verdin requested to merge test-framework into sympa-6.2

Created by: dverdin

I added a dummy (and empty) SQLite database and a dummy sympa.conf file. These are used in a test file for Conf.pm and another one for Sympa::DatabaseManager. These two modules should be tested first (hence the number for the test files). Providing everything works, we can start testing other files, being sure that they will be allowed to access our dummy database and configuration. Of course, it is just a start: still more work to populate the database, being able to empy it and repopulate it easily, and also using ll configs: auth.conf, lists configs, etc.

Merge request reports