File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/stop-on-error-via-cli.phpt

Recommend this page to a friend!
  Classes of Paulo Henrique  >  symfony-dual-login  >  bin/.phpunit/phpunit-7.5-0/tests/end-to-end/stop-on-error-via-cli.phpt  >  Download  
File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/stop-on-error-via-cli.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: 674 bytes
 

Contents

Class file image Download
--TEST--
phpunit --stop-on-error StopOnErrorTestSuite ./tests/_files/StopOnErrorTestSuite.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--stop-on-error';
$_SERVER['argv'][3] = 'StopOnErrorTestSuite';
$_SERVER['argv'][4] = __DIR__ . '/../_files/StopOnErrorTestSuite.php';

require __DIR__ . '/../bootstrap.php';
PHPUnit\TextUI\Command::main();
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.

IE

Time: %s, Memory: %s

There was 1 error:

1) StopOnErrorTestSuite::testWithError
Error: StopOnErrorTestSuite_error

%s%etests%e_files%eStopOnErrorTestSuite.php:%d

ERRORS!
Tests: 2, Assertions: 1, Errors: 1, Incomplete: 1.

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