- Improved the parser for the legacy args option
- New tests for the legacy args option string - New Exception when no tests are executed
This commit is contained in:
parent
c32a520b91
commit
8078d0befe
3 changed files with 39 additions and 3 deletions
|
|
@ -61,6 +61,39 @@ class PhpUnitOptionsTest extends \PHPUnit_Framework_TestCase
|
|||
'coverage-html' => '/path/to/coverage1/',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'config' => array('tests/phpunit.xml'),
|
||||
'args' => "--testsuite=unit --bootstrap=vendor/autoload.php",
|
||||
),
|
||||
array(
|
||||
'testsuite' => 'unit',
|
||||
'bootstrap' => 'vendor/autoload.php',
|
||||
'configuration' => array('tests/phpunit.xml'),
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'config' => array('tests/phpunit.xml'),
|
||||
'args' => "--testsuite='unit' --bootstrap 'vendor/autoload.php'",
|
||||
),
|
||||
array(
|
||||
'testsuite' => 'unit',
|
||||
'bootstrap' => 'vendor/autoload.php',
|
||||
'configuration' => array('tests/phpunit.xml'),
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'config' => array('tests/phpunit.xml'),
|
||||
'args' => '--testsuite="unit" --bootstrap "vendor/autoload.php"',
|
||||
),
|
||||
array(
|
||||
'testsuite' => 'unit',
|
||||
'bootstrap' => 'vendor/autoload.php',
|
||||
'configuration' => array('tests/phpunit.xml'),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue