File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/list-tests-xml-dataprovider.phpt

Recommend this page to a friend!
  Classes of Paulo Henrique  >  symfony-dual-login  >  bin/.phpunit/phpunit-7.5-0/tests/end-to-end/list-tests-xml-dataprovider.phpt  >  Download  
File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/list-tests-xml-dataprovider.phpt
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: symfony-dual-login
API to get user details using OAuth authentication
Author: By
Last change:
Date: 1 month ago
Size: 978 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>

For more information send a message to info at phpclasses dot org.