Introduction ============ This recipe generates a test runner for ERP5 Example ======= You can use it with a part like this:: [runUnitTest] recipe = erp5.recipe.testrunner zope2-location = ${zope2:location} products = ${erp5_instance:products} ${zope2:location}/lib/python/Products/ eggs = ${erp5_instance:eggs} bt5_path = ${download_bt5:location} Options ======= zope2-location Location of a zope2 installation, similar to this option in zope2instance recipe. products Products to use in the generated scripts eggs Eggs to use in the generated scripts bt5_path Paths containing business templates to be installed mysql_create_database If true creates the database using the options below that come from erp5.recipe.mysqldatabase (Starting with mysql_). Notice that, to use this option, one of two things need to happen: * Your python interpreter already has the MySQL-python package installed * You set the 'recipe' of your part to: recipe = erp5.recipe.testrunner[standalone] This will use the '[standalone]' variant of erp5.recipe.mysqldatabase and will install the MySQL-python egg automatically mysql_database_name Mysql Database name. erp5_sql_connection_string python-mysql connection string to database. (Optional). mysql_host Hostname which is running your mysql server. By Default uses localhost. (Optional). mysql_port Port Number which is running your mysql server. By Default uses 3306. (Optional). mysql_user User of new database, used to grant privilegies on the new database. mysql_password User's Password of new database, used to grant privilegies on the new database. mysql_superuser User of mysql used to connect to mysql server to create the database. mysql_superpassword Password of user defined at mysql_superuser.