Framework and standard for PHP unit testing

learn more… | top users | synonyms

10
votes
2answers
3k views

PHPUnit Windows command box nice colors

I have PHPunit installed on a Windows machine. But I don't get nice output on my command line. With the green colours. Someone on the PHPunit mailing list told me I need the ansi.sys driver. Can ...
7
votes
4answers
10k views

Error trying to install PHPUnit from PEAR

$ sudo pear install phpunit/PHPUnit Unknown remote channel: pear.symfony-project.com phpunit/PHPUnit requires package "channel://pear.symfony-project.com/YAML" (version >= 1.0.2) phpunit/PHPUnit ...
2
votes
3answers
567 views

Can I run `phpunit` on an open PHP file inside vim?

Is there an easy way to run phpunit on open php test file inside vim?
1
vote
1answer
985 views

Use remote PHPUnit coverage in PhpStorm

I am working in the following setup: There is a development VM running, where I can access the codebase and use it as project location in PhpStorm. Everything (nginx, database, phpunit, ...) is ...
1
vote
0answers
630 views

cannt run phpunit tests on bash ubuntu 11.10

I'm working with Ubuntu 11.10 as root on my local machine, I've installed xampp 1.7.7 and While following a tutorial on sitepoint on how to install pear to use PhpUnit, I didn't notice it then, but ...
1
vote
0answers
226 views

“PHP Error” when running PHPUnit tests from within Komodo IDE

I am using the latest version of the Komodo IDE, PEAR and PHPUnit with PHP version 5.3.0. When I run the unit tests for my Komodo project the tests run correctly, but regardless of whether there are ...
0
votes
1answer
740 views

How should be system configured for use breakpoints of xdebug for phpunit tests on netbeans (ubuntu)

How should be system configured for use breakpoints of xdebug for phpunit(3.5) tests on netbeans 6.9 (ubuntu 10.04). Example1 (breakpoint inside Test file): in ExampleTest.php I want to put ...
0
votes
1answer
302 views

Why showing pear and phpunit is not installed in xampp on ubuntu?

I have installed xampp 1.8 on my ubuntu 12.04. In /opt/lampp/lib/php/PEAR I can see there are two directory named PEAR and PHPUnit. But when I run pear -V or phpunit from terminal it gives the below ...