Changeset 6 in tests
- Timestamp:
- 09/20/2007 01:07:28 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-test.php
r2 r6 6 6 define('DIR_TESTCASE', './wp-testcase'); 7 7 define('DIR_TESTDATA', './wp-testdata'); 8 define('DIR_TESTPLUGINS', './wp-plugins'); 8 9 define('TEST_MU', (@$opts['v'] == 'mu')); 9 10 … … 54 55 assert(true == is_blog_installed()); 55 56 57 // include plugins for testing, if any 58 if (is_dir(DIR_TESTPLUGINS)) { 59 $plugins = glob(realpath(DIR_TESTPLUGINS).'/*.php'); 60 foreach ($plugins as $plugin) 61 include_once($plugin); 62 } 63 56 64 // run the tests and print the results 57 65 $result = wptest_run_tests($classes);
Note: See TracChangeset
for help on using the changeset viewer.