Making WordPress.org

Changeset 8302


Ignore:
Timestamp:
02/21/2019 12:22:55 AM (6 years ago)
Author:
iandunn
Message:

WordCamp Tests: Add CampTix test suite.

Location:
sites/trunk/wordcamp.org
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/phpunit-bootstrap.php

    r8301 r8302  
    1515require_once( dirname( dirname( $core_tests_directory ) ) . '/build/wp-admin/includes/plugin.php' );
    1616
     17
    1718/*
    1819 * Load individual plugin bootstrappers
     
    2930require_once( WP_PLUGIN_DIR . '/wordcamp-remote-css/tests/bootstrap.php' );
    3031
     32/*
     33 * This has to be the last plugin bootstrapper, because it includes the Core test bootstrapper, which would
     34 * short-circuits any other plugin bootstrappers than run after it. We can remove that when we remove CampTix
     35 * from the w.org directory and make it a wordcamp.org-only plugin.
     36 */
     37require_once( WP_PLUGIN_DIR . '/camptix/tests/bootstrap.php' );
     38
    3139require_once( $core_tests_directory . '/includes/bootstrap.php' );
  • sites/trunk/wordcamp.org/phpunit.xml.dist

    r8298 r8302  
    99
    1010    <testsuites>
     11        <testsuite>
     12            <directory prefix="test-" suffix=".php">
     13                ./public_html/wp-content/plugins/camptix/tests/
     14            </directory>
     15        </testsuite>
     16
    1117        <testsuite>
    1218            <directory prefix="test-" suffix=".php">
Note: See TracChangeset for help on using the changeset viewer.