1--TEST-- 2phpunit --teamcity BankAccountTest ../_files/BankAccountTest.php 3--FILE-- 4<?php 5$_SERVER['argv'][1] = '--no-configuration'; 6$_SERVER['argv'][2] = '--teamcity'; 7$_SERVER['argv'][3] = 'BankAccountTest'; 8$_SERVER['argv'][4] = __DIR__ . '/../_files/BankAccountTest.php'; 9 10require __DIR__ . '/../bootstrap.php'; 11PHPUnit_TextUI_Command::main(); 12--EXPECTF-- 13PHPUnit %s by Sebastian Bergmann and contributors. 14 15 16##teamcity[testCount count='3' flowId='%d'] 17 18##teamcity[testSuiteStarted name='BankAccountTest' locationHint='php_qn://%s/tests/_files/BankAccountTest.php::\BankAccountTest' flowId='%d'] 19 20##teamcity[testStarted name='testBalanceIsInitiallyZero' locationHint='php_qn://%s/tests/_files/BankAccountTest.php::\BankAccountTest::testBalanceIsInitiallyZero' flowId='%d'] 21 22##teamcity[testFinished name='testBalanceIsInitiallyZero' duration='%s' flowId='%d'] 23 24##teamcity[testStarted name='testBalanceCannotBecomeNegative' locationHint='php_qn://%s/tests/_files/BankAccountTest.php::\BankAccountTest::testBalanceCannotBecomeNegative' flowId='%d'] 25 26##teamcity[testFinished name='testBalanceCannotBecomeNegative' duration='%s' flowId='%d'] 27 28##teamcity[testStarted name='testBalanceCannotBecomeNegative2' locationHint='php_qn://%s/tests/_files/BankAccountTest.php::\BankAccountTest::testBalanceCannotBecomeNegative2' flowId='%d'] 29 30##teamcity[testFinished name='testBalanceCannotBecomeNegative2' duration='%s' flowId='%d'] 31 32##teamcity[testSuiteFinished name='BankAccountTest' flowId='%d'] 33 34 35Time: %s, Memory: %s 36 37OK (3 tests, 3 assertions) 38