File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/regression/GitHub/2725-separate-class-before-after-pid.phpt

Recommend this page to a friend!
  Classes of Paulo Henrique  >  symfony-dual-login  >  bin/.phpunit/phpunit-7.5-0/tests/end-to-end/regression/GitHub/2725-separate-class-before-after-pid.phpt  >  Download  
File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/regression/GitHub/2725-separate-class-before-after-pid.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: 2 months ago
Size: 538 bytes
 

Contents

Class file image Download
--TEST--
GH-2725: Verify that @runClassInSeparateProcess runs @beforeclass and @afterclass methods in the same process as test methods.
--FILE--
<?php

$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = __DIR__ . '/2725/BeforeAfterClassPidTest.php';

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

..                                                                  2 / 2 (100%)

Time: %s, Memory: %s

OK (2 tests, 2 assertions)

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