]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2342] Extended documentation to discuss running of unit tests
authorStephen Morris <stephen@isc.org>
Tue, 6 Nov 2012 14:11:17 +0000 (14:11 +0000)
committerStephen Morris <stephen@isc.org>
Tue, 6 Nov 2012 14:11:17 +0000 (14:11 +0000)
src/lib/dhcp/database_backends.dox

index 27b4c249da8afd276d6818f7af28ef7a2b09db65..7736ccb32d60f54f4a9e0d53fc179411666138b6 100644 (file)
     no password is used.
   - user - database user ID under which the database is accessed.  If not
     specified, no user ID is used - the database is assumed to be open.
+
+  @section dhcp-backend-unittest Running Unit Tests
+
+  With the use of databases requiring separate authorisation, there are
+  certain pre-requisties for scuccessfully running the unit tests.  These are
+  database-specific:
+
+  MySQL: a database called keatest needs to be set up.  A database user, also
+  called keatest (with a password keatest) must be given full privileges in
+  that database.  The unit tests create the database schema in the database
+  before each test, and delete it afterwards.
   */