[wp-testers] Automated Testing Failing
Dion Hulse (dd32)
wordpress at dd32.id.au
Sun Feb 21 11:52:16 UTC 2010
Its not the tests that will need fixing in most cases, but WordPress.
Altho, In some cases, Its just that the test cases are out of date.
If you'd like to just run one set of tests (to see what is failing) you
can run them like so:
php ./wp-test.php -t Test_Sanitize_File_Name
Peter Westwood (westi) is the main man behind the tests, he'll probably
chime in here sometime with some better answers.
On Sun, 21 Feb 2010 20:33:25 +1100, Ezwan Aizat Bin Abdullah Faiz
<aizat.faiz at gmail.com> wrote:
> Ah alrights.
> Are there plans to fix these tests so that they all pass? If so I hope to
> assist if possible.
> Just for archivals sake my test results are so:
> Tests: 489, Assertions: 2919, Failures: 136, Errors: 32, Skipped: 18.
> real 2m31.785s
> user 0m37.800s
> sys 0m4.463s
> On Sun, Feb 21, 2010 at 2:51 PM, Dion Hulse (dd32)
> <wordpress at dd32.id.au>wrote:
>> The test suite should be for Trunk, Older branches may run, but some
>> will fail.
>> Not all tests will pass IIRC, Some are edge cases which are known but
>> For reference, Here's my output:
>> ←[0m←[37;41m←[2KTests: 489, Assertions: 2382, Failures: 138, Errors: 40,
>> Skipped: 17.
>> So if you're getting something similar, then everything should be
>> On Sun, 21 Feb 2010 15:57:28 +1100, Ezwan Aizat Bin Abdullah Faiz <
>> aizat.faiz at gmail.com> wrote:
>>> I've been interested in building plugins for WordPress and and
>>> back to the core development. But I've come onto a bit of a stumble.
>>> I've learned that WordPress has Automated Testing (
>>> http://codex.wordpress.org/Automated_Testing ) , and experimented
>>> use it. I've got them working through installing PHPUnit via PEAR. But
>>> tests generally failed (When running the test suite, I get a lot of
>>> My questions:
>>> - What sort of environment is required? This includes OS, software
>>> packages installed.
>>> - What version of WordPress is the Automated Testing (currently
>>> 289) designed for? It is not specified in the README.txt . I've tried
>>> and the trunk of WordPress. No luck.
>>> My environment:
>>> - Apple Mac OS X 10.6 Snow Leopard
>>> - PHP 5.2.12 (installed via MacPorts php52
>>> @5.2.12_0+apache2+darwin_10+macosx+mysql5+pear+readline )
>>> Much help is appreciated.
>> Dion Hulse / dd32
>> e: contact at dd32.id.au
>> msn: msn at d32.id.au
>> skype: theonly_dd32
>> Web: http://dd32.id.au/
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
Dion Hulse / dd32
e: contact at dd32.id.au
msn: msn at d32.id.au
More information about the wp-testers