Editing the testconfiguration.php
Posted: Thu Feb 07, 2008 8:01 pm
Hi 
Just bought a copy of shift this newsletter, and i would like to run the tests for swift. I have read the instructions, and changed the chmod to 0777, but i'm stuck on how to edit the Testconfiguration.php file. Even though it says what to define, Im not familliar with dealing with this type of thing, so i would really appreciate any examples/help anyone could give?
I assume its this that needs filling in, but im not sure what to put.
define("TEST_CONFIG_PATH", dirname(__FILE__));
define("DEFAULT_WRITABLE_PATH", TEST_CONFIG_PATH . "/tmp");
define("DEFAULT_LIBRARY_PATH", str_replace("tests", "lib", TEST_CONFIG_PATH));
define("FILES_PATH", TEST_CONFIG_PATH . "/files");
define("SIMPLE_PATH", str_replace('tests', 'simpletest', TEST_CONFIG_PATH));
define("WP_BLOG_HEADER_PATH", TEST_CONFIG_PATH . "/../../../../../");
Many thanks for any help you could give
Marc
Just bought a copy of shift this newsletter, and i would like to run the tests for swift. I have read the instructions, and changed the chmod to 0777, but i'm stuck on how to edit the Testconfiguration.php file. Even though it says what to define, Im not familliar with dealing with this type of thing, so i would really appreciate any examples/help anyone could give?
I assume its this that needs filling in, but im not sure what to put.
define("TEST_CONFIG_PATH", dirname(__FILE__));
define("DEFAULT_WRITABLE_PATH", TEST_CONFIG_PATH . "/tmp");
define("DEFAULT_LIBRARY_PATH", str_replace("tests", "lib", TEST_CONFIG_PATH));
define("FILES_PATH", TEST_CONFIG_PATH . "/files");
define("SIMPLE_PATH", str_replace('tests', 'simpletest', TEST_CONFIG_PATH));
define("WP_BLOG_HEADER_PATH", TEST_CONFIG_PATH . "/../../../../../");
Many thanks for any help you could give
Marc