Tag Archives: Unittests

Using Assertions with (Legacy) PHP Code

While it was not much advised to use assertions (the assert PHP language construct) prior to PHP 7 due to the fact that it actually eval’ed a string’ed code, these days are gone. This is probably a lesser known fact with … Continue reading

Posted in Developing, Hakre's Tips, PHP Development, PHP Development, Pressed, The Know Your Language Department, Tools | Tagged , , , , , , , | Leave a comment

The Sky. The Universe. The Missing Unit Tests

Out there in the Universe. Now comparisons get Epic Pictures when it comes to WordPress and Unit Tests: Beta Sagittae. via The Loop. Reminded me of Development By The Numbers – Slides (May 2013; by ircmaxell) having also nice comparisons … Continue reading

Posted in Code Smells, Hacking The Core, Linked, PHP Code Smells, Pressed | Tagged , , , , , | Leave a comment

New Trac Report: {37} Needs Unit Tests [UPDATED]

For the upcomming 3.0 Release there are still some tickets open, but it looks like this is getting closer to release. I just stumbled over a new report, that is listing all with the tag needs-unit-tests. The funny thing about … Continue reading

Posted in Hacking The Core, Pressed | Tagged , , , , , , , | 3 Comments

Cross-Plattform interoperability of the Test Suite

Closer to get it going: The wordpress test suite just got a patch to better support windows and some other systems. The next thing to do is to actually fix those tests that use functions which just die. Calling die() while … Continue reading

Posted in Patched | Tagged , , , , , , | 1 Comment