Index: wp-test.php
===================================================================
--- wp-test.php	(revision 2)
+++ wp-test.php	(revision 6)
@@ -6,4 +6,5 @@
 define('DIR_TESTCASE', './wp-testcase');
 define('DIR_TESTDATA', './wp-testdata');
+define('DIR_TESTPLUGINS', './wp-plugins');
 define('TEST_MU', (@$opts['v'] == 'mu'));
 
@@ -54,4 +55,11 @@
 assert(true == is_blog_installed());
 
+// include plugins for testing, if any
+if (is_dir(DIR_TESTPLUGINS)) {
+	$plugins = glob(realpath(DIR_TESTPLUGINS).'/*.php');
+	foreach ($plugins as $plugin)
+		include_once($plugin);
+}
+
 // run the tests and print the results
 $result = wptest_run_tests($classes);
