PHP Classes

File: vendor/phpunit/phpunit/tests/TextUI/list-tests-xml-dataprovider.phpt

Recommend this page to a friend!
  Packages of Abed Nego Ragil Putra   Laravel Blogging Platform   vendor/phpunit/phpunit/tests/TextUI/list-tests-xml-dataprovider.phpt   Download  
File: vendor/phpunit/phpunit/tests/TextUI/list-tests-xml-dataprovider.phpt
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Blogging Platform
Manage blog posts using Laravel and Bootstrap
Author: By
Last change:
Date: 8 months ago
Size: 975 bytes
 

Contents

Class file image Download
--TEST-- phpunit --list-tests-xml DataProviderTest ../_files/DataProviderTest.php --FILE-- <?php $target = tempnam(sys_get_temp_dir(), __FILE__); $_SERVER['argv'][1] = '--no-configuration'; $_SERVER['argv'][2] = '--list-tests-xml'; $_SERVER['argv'][3] = $target; $_SERVER['argv'][4] = 'DataProviderTest'; $_SERVER['argv'][5] = __DIR__ . '/../_files/DataProviderTest.php'; require __DIR__ . '/../bootstrap.php'; PHPUnit\TextUI\Command::main(false); print file_get_contents($target); unlink($target); --EXPECTF-- PHPUnit %s by Sebastian Bergmann and contributors. Wrote list of tests that would have been run to %s <?xml version="1.0"?> <tests> <testCaseClass name="DataProviderTest"> <testCaseMethod name="testAdd" groups="default" dataSet="#0"/> <testCaseMethod name="testAdd" groups="default" dataSet="#1"/> <testCaseMethod name="testAdd" groups="default" dataSet="#2"/> <testCaseMethod name="testAdd" groups="default" dataSet="#3"/> </testCaseClass> </tests>