diff --git phpunit.xml.dist phpunit.xml.dist
index 2178ce2..abf5f00 100644
--- phpunit.xml.dist
+++ phpunit.xml.dist
@@ -25,4 +25,7 @@
     <logging>
         <log type="junit" target="tests/phpunit/build/logs/junit.xml" logIncompleteSkipped="false"/>
     </logging>
+    <php>
+        <const name="WP_RUN_CORE_TESTS" value="1" />
+    </php>
 </phpunit>
diff --git tests/phpunit/includes/testcase.php tests/phpunit/includes/testcase.php
index 4230164..79a29a2 100644
--- tests/phpunit/includes/testcase.php
+++ tests/phpunit/includes/testcase.php
@@ -37,8 +37,12 @@ class WP_UnitTestCase extends PHPUnit_Framework_TestCase {
 		ini_set('display_errors', 1 );
 		$this->factory = new WP_UnitTest_Factory;
 		$this->clean_up_global_scope();
-		$this->reset_post_types();
-		$this->reset_taxonomies();
+
+		if ( defined( 'WP_RUN_CORE_TESTS' ) && WP_RUN_CORE_TESTS ) {
+			$this->reset_post_types();
+			$this->reset_taxonomies();
+		}
+
 		$this->start_transaction();
 		$this->expectDeprecated();
 		add_filter( 'wp_die_handler', array( $this, 'get_wp_die_handler' ) );
