[wp-hackers] Automated testing

prasath nadarajah n.prasath.002 at gmail.com
Fri May 14 16:55:05 UTC 2010


hi,
i,m new to wordpress. i,m in the process of learning the internals of
wordpress. i checked out the latest version in the trunk and learning
to create/apply patches.
I,m wondering how can i use the automated testing tools to test
wordpress. the documentation explaining this is not clear.

1. where do i want to place the test files??
     - inside the wordpress root folder or in a seperate folder? (it
is better if anyone can a screenshot of the folder structure and
attach)
2.i.m using ubuntu and installed the LAMP stack
   when i run   $php wp-test.php it is displaying a series of errors.
(see below)

can anyone help me with how to use the automated test tools.






PHP Deprecated:  Comments starting with '#' are deprecated in /etc/
php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP Deprecated:  Assigning the return value of new by reference is
deprecated in /var/www/wordpressdev/wp-testlib/base.php on line 154

Deprecated: Assigning the return value of new by reference is
deprecated in /var/www/wordpressdev/wp-testlib/base.php on line 154
PHP Deprecated:  Assigning the return value of new by reference is
deprecated in /var/www/wordpressdev/wp-testlib/base.php on line 156

Deprecated: Assigning the return value of new by reference is
deprecated in /var/www/wordpressdev/wp-testlib/base.php on line 156
PHP Warning:  require_once(PHPUnit/Framework.php): failed to open
stream: No such file or directory in /var/www/wordpressdev/wp-testlib/
base.php on line 6

Warning: require_once(PHPUnit/Framework.php): failed to open stream:
No such file or directory in /var/www/wordpressdev/wp-testlib/base.php
on line 6
PHP Fatal error:  require_once(): Failed opening required 'PHPUnit/
Framework.php' (include_path='.:/usr/share/php:/usr/share/pear') in /
var/www/wordpressdev/wp-testlib/base.php on line 6

Fatal error: require_once(): Failed opening required 'PHPUnit/
Framework.php' (include_path='.:/usr/share/php:/usr/share/pear') in /
var/www/wordpressdev/wp-testlib/base.php on line 6










More information about the wp-hackers mailing list