Changeset 924 in tests for trunk/bootstrap.php
- Timestamp:
- 07/19/2012 06:18:12 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootstrap.php
r918 r924 100 100 array_keys( $this->longOptions ) 101 101 ); 102 if ( empty( $options[0] ) ) { 103 register_shutdown_function( array( __CLASS__, 'ajaxTestsWereNotRun' ) ); 104 return; 105 } 102 106 foreach ( $options[0] as $option ) { 103 107 if ( $option[0] !== '--group' ) … … 110 114 } 111 115 } 116 117 static function ajaxTestsWereNotRun() { 118 echo PHP_EOL . 'By default, Ajax tests are not run. To execute these, use `phpunit --group ajax`' . PHP_EOL; 119 } 112 120 } 113 121 new WP_PHPUnit_TextUI_Command( $_SERVER['argv'] );
Note: See TracChangeset
for help on using the changeset viewer.