sebastianbergmann/phpunit — comment on commit 11f84b145b2c026a97ace61cb4f632bf161f0825
File:  line 0
By edorian:

Some feedback on the current status (not sure it helps but just in case :) ):

How i build it:

phpunit/build$ cat my-create-phar.php
#!/bin/bash
php -d include_path='.:../../phpunit/:../../dbunit/:../../php-code-coverage/:../../php-file-iterator/:../../php-invoker/:../../php-text-template/:../../php-timer:../../php-token-stream:../../phpunit-mock-objects/:../../phpunit-selenium/:../../phpunit-story/' create-phar.php

Output against backaccount:

```
edo@edo-vb:~/phpunit/bankaccount$ php phpunit.phar
PHPUnit @package_version@ by Sebastian Bergmann.

Configuration read from /home/edo/phpunit/bankaccount/phpunit.xml.dist

EEEEEEE.................EEE.E..............EE

Time: 0 seconds, Memory: 6.50Mb

There were 13 errors:

1) BankAccountControllerTest::testReturnsBankAccountViewWhenBankAccountIsSpecified
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/ControllerTestCase.php:13
/home/edo/phpunit/bankaccount/tests/unit/controller/BankAccountControllerTest.php:12
/home/edo/phpunit/bankaccount/phpunit.phar:5

2) BankAccountControllerTest::testExceptionIsRaisedWhenBankAccountIsNotSpecified
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/ControllerTestCase.php:13
/home/edo/phpunit/bankaccount/tests/unit/controller/BankAccountControllerTest.php:12
/home/edo/phpunit/bankaccount/phpunit.phar:5

3) BankAccountControllerTest::testExceptionIsRaisedWhenBankAccountIsNotFound
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/ControllerTestCase.php:13
/home/edo/phpunit/bankaccount/tests/unit/controller/BankAccountControllerTest.php:12
/home/edo/phpunit/bankaccount/phpunit.phar:5

4) BankAccountListControllerTest::testReturnsListOfBankAccounts
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/ControllerTestCase.php:13
/home/edo/phpunit/bankaccount/tests/unit/controller/BankAccountListControllerTest.php:12
/home/edo/phpunit/bankaccount/phpunit.phar:5

5) ControllerFactoryTest::testBankAccountControllerCanBeConstructed
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/framework/ControllerFactoryTest.php:16
/home/edo/phpunit/bankaccount/phpunit.phar:5

6) ControllerFactoryTest::testBankAccountListControllerCanBeConstructed
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/framework/ControllerFactoryTest.php:16
/home/edo/phpunit/bankaccount/phpunit.phar:5

7) ControllerFactoryTest::testDefaultControllerCanBeConstructed
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/framework/ControllerFactoryTest.php:16
/home/edo/phpunit/bankaccount/phpunit.phar:5

8) RouterTest::testCorrectControllerIsSelected
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/framework/RouterTest.php:13
/home/edo/phpunit/bankaccount/phpunit.phar:5

9) RouterTest::testExceptionWhenNoControllerCanBeSelected
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/framework/RouterTest.php:13
/home/edo/phpunit/bankaccount/phpunit.phar:5

10) RouterTest::testExceptionWhenSomethingIsWrongWithTheValues
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/framework/RouterTest.php:13
/home/edo/phpunit/bankaccount/phpunit.phar:5

11) ViewTest::testViewObjectCanBeConstructed
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/framework/ViewTest.php:18
/home/edo/phpunit/bankaccount/phpunit.phar:5

12) BankAccountListViewTest::testIsRenderedCorrectly
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/ViewTestCase.php:10
/home/edo/phpunit/bankaccount/phpunit.phar:5

13) BankAccountViewTest::testIsRenderedCorrectly
InvalidArgumentException: Template file could not be loaded.

/home/edo/phpunit/bankaccount/tests/unit/ViewTestCase.php:10
/home/edo/phpunit/bankaccount/phpunit.phar:5

FAILURES!
Tests: 45, Assertions: 36, Errors: 13.

Writing code coverage data to XML file, this may take a moment.

Generating code coverage report, this may take a moment.
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Template file could not be loaded.' in phar:///home/edo/phpunit/bankaccount/phpunit.phar/Text/Template.php on line 100

InvalidArgumentException: Template file could not be loaded. in phar:///home/edo/phpunit/bankaccount/phpunit.phar/Text/Template.php on line 100

Call Stack:
0.0286 418176 1. {main}() /home/edo/phpunit/bankaccount/phpunit.phar:0
0.0315 779892 2. PHPUnit_TextUI_Command::main() /home/edo/phpunit/bankaccount/phpunit.phar:5
0.0315 780228 3. PHPUnit_TextUI_Command->run() phar:///home/edo/phpunit/bankaccount/phpunit.phar/PHPUnit/TextUI/Command.php:125
0.1143 4254212 4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/edo/phpunit/bankaccount/phpunit.phar/PHPUnit/TextUI/Command.php:187
0.7907 9325788 5. PHP_CodeCoverage_Report_HTML->process() phar:///home/edo/phpunit/bankaccount/phpunit.phar/PHPUnit/TextUI/TestRunner.php:373
0.8061 9683340 6. PHP_CodeCoverage_Report_HTML_Renderer_Dashboard->render() phar:///home/edo/phpunit/bankaccount/phpunit.phar/PHP/CodeCoverage/Report/HTML.php:169
0.8064 9689032 7. Text_Template->__construct() phar:///home/edo/phpunit/bankaccount/phpunit.phar/PHP/CodeCoverage/Report/HTML/Renderer/Dashboard.php:74
0.8064 9689032 8. Text_Template->setFile() phar:///home/edo/phpunit/bankaccount/phpunit.phar/Text/Template.php:78
```