Slim-Middleware icon indicating copy to clipboard operation
Slim-Middleware copied to clipboard

How start phpunit?

Open hachreak opened this issue 11 years ago • 0 comments

Hi, I have a problem with phpunit. I downloaded the project and init with "composer install". Then I started: "phpunit", but seems to have some problems. Can you help me? :D

vagrant@vagrant:/tmp/Slim-Middleware-master$ phpunit PHPUnit 4.0.17 by Sebastian Bergmann.

You have installed PHPUnit via PEAR. This installation method is no longer supported and http://pear.phpunit.de/ will be shut down no later than December, 31 2014.

Please read http://phpunit.de/manual/current/en/installation.html and learn how to use PHPUnit from a PHAR or install it via Composer.

Configuration read from /tmp/Slim-Middleware-master/phpunit.xml.dist

FF

Time: 43 ms, Memory: 3.75Mb

There were 2 failures:

  1. ContentNegotiationTest::testBestFormatIsSet Failed asserting that null is not null.

/tmp/Slim-Middleware-master/tests/ContentNegotiationTest.php:64

  1. ContentNegotiationTest::testBestFormatWithPriorities Failed asserting that null is not null.

/tmp/Slim-Middleware-master/tests/ContentNegotiationTest.php:82

FAILURES!
Tests: 2, Assertions: 2, Failures: 2.

hachreak avatar Jul 12 '14 11:07 hachreak