9:33am PT, Monday May 12

Category

Archive for the '' Category

Sebastian Bergmann’s Blog: Map and Reduce in PHP

In this new blog entry, Sebastian Bergmann talks about two bits of functionality that PHP has that bring it a bit closer to a full functional language - array_map and array_reduce.

Just like Python, PHP is not a full-fledged functional language, but it supports some very useful functional idioms such as map and reduce. A blog […]

Popularity: unranked [?]

Sebastian Bergmann’s Blog: Isolated (and Parallel) Test Execution

Sebastian Bergmann points out a new feature that PHPUnit (the popular PHP unit testing tool) now has - parallel_test_execution allowing for each test to execute on a separate PHP process.

The advantages of this include full test isolation and the fact that a test can now cause a PHP fatal error or even a segmentation fault […]

Popularity: unranked [?]

Sebastian Bergmann’s Blog: SQL Puzzle

Sebastian Bergmann has figured out half of the puzzle he was working on but is still a bit stuck on the second half. He knows how to mine information from Subversion, but not they queries to ask the database for the info he needs.

I have written a small PHP script (the initial version of the […]

Popularity: unranked [?]

Sebastian Bergmann’s Blog: Speaking at Conference PHP Quebec 2008

Sebastian Bergmann points out that he will be speaking at the upcoming PHP Conference in Quebec (2008). He will be presenting three talks/tutorials:

Test-Driven Object-Oriented Programming - Learning and Understanding (with Marcus Borger): This PHPLab is an in-depth introduction to object-oriented and pattern-based programming using PHP 5. You will learn everything necessary to write your own […]

Popularity: unranked [?]

Sebastian Bergmann’s Blog: On PHPUnit and Software Metrics

In one of his latest entries, Sebastian Bergmann answers a question from another blogger about the future of software metrics and project mess detection as a part of the PHPUnit project.

When I started to work on these projects, there was no other place for me then to develop them as part of PHPUnit. […] But […]

Popularity: unranked [?]

Sebastian Bergmann’s Blog: Hamcrest

In a new post to his blog, Sebastian Bergmann mentions a new effort he’s undertaken - the porting of the Hamcrest library of matcher objects to PHP.

I have begun to port Hamcrest, which provides a library of matcher objects (also known as constraints or predicates) allowing “match” rules to be defined declaratively, to be used […]

Popularity: unranked [?]

Sebastian Bergmann’s Blog: Test Runner Improvement in PHPUnit 3.3

Sebastian Bergmann has posted some details about an update that’s been made to the test runner for the PHPUnit (3.3) unit testing suite - an allowance for directories instead of just files on the command line.

Given a directory, the test runner will recursively scan the directory for *Test.php files, build a test suite out of […]

Popularity: unranked [?]

Sebastian Bergmann’s Blog: Profiling and Optimizing PHPUnit

Sebastian Bergmann has posted about a bottle neck in the PHPUnit unit testing software for PHP:

Now that collecting code coverage information is not slow anymore (as of Xdebug 2.0.1), PHPUnit’s report generation code (PHPUnit_Util_Report_*) has become a bottleneck.

There are several images included in the post (output of KCachegrind):

generation at revision 1473
generation at revision 1475
generation at […]

Popularity: 32% [?]

Sebastian Bergmann’s Blog: Planet PHPUnit

Sebastian Bergmann has officially announced the creation of a new planet in the PHP community - one specifically for the PHPUnit testing suite - Planet PHPUnit.

At the moment only three feeds are aggregated on Planet PHPUnit: release announcements, articles about new features in PHPUnit written by myself, and Manuel Pichler’s blog postings on phpUnderControl.

He also […]

Popularity: unranked [?]

Sebastian Bergmann’s Blog: RC2 Is The New RC1 (PHPUnit)

Sebastian Bergmann has posted about the latest release of the popular unit testing framework for PHP, PHPUnit 3.2.

I have just released a second release candidate for PHPUnit 3.2, the next major version of the xUnit testing framework for PHP.

According to the Changelog, updates in this new Release Candidate include a number of updates to the […]

Popularity: unranked [?]