1--TEST-- 2#684: Unable to find test class when no test methods exists 3--FILE-- 4<?php 5$_SERVER['argv'][1] = '--no-configuration'; 6$_SERVER['argv'][2] = 'Issue684Test'; 7$_SERVER['argv'][3] = __DIR__ . '/684/Issue684Test.php'; 8 9require __DIR__ . '/../../bootstrap.php'; 10PHPUnit_TextUI_Command::main(); 11?> 12--EXPECTF-- 13PHPUnit %s by Sebastian Bergmann and contributors. 14 15W 1 / 1 (100%) 16 17Time: %s, Memory: %s 18 19There was 1 warning: 20 211) Warning 22No tests found in class "Foo_Bar_Issue684Test". 23 24WARNINGS! 25Tests: 1, Assertions: 0, Warnings: 1. 26