Jeśli jesteś właścicielem tej strony, możesz wyłączyć reklamę poniżej zmieniając pakiet na PRO lub VIP w panelu naszego hostingu już od 4zł!

Volker Dusch’s Blog: Textual code coverage information for PHPUnit

Volker Dusch’s Blog: Textual code coverage information for PHPUnit

In a new post to his blog Volker Dusch points out a new feature in a recent release of PHPUnit, the popular unit testing framework for PHP – textual code coverage details.

Three weeks ago PHPUnit 3.6 was released and it has a little new feature you might have missed until now. PHPUnit can now show you code coverage information on the command line.

Options for the report output include: colorizing, writing the output to a file, including a project summary, namespace separation and package (using the @package phpdoc tag) information. He includes a use case he’s found for it – small projects where you can cover the whole codebase quickly (with a “watch” command example filtering based on a certain class).

Source: http://www.phpdeveloper.org/news/17173

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Posted Listopad 27th, 2011 in WEB and PHP Development.

Leave a response: