File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ Setting up
882 . Install [ Composer] ( https://getcomposer.org/ ) if you don't already have it.
992 . Run ` composer install ` to fetch all the dependencies.
10103 . Run ` ./bin/wp --info ` to test if everything was installed properly.
11- 4 . Download PHPUnit: ` curl -L https://phar.phpunit.de/phpunit.phar > phpunit.phar `
12- 5 . Download Behat: ` curl -L http://behat.org/downloads/behat.phar > behat.phar `
1311
1412Submitting patches
1513------------------
@@ -41,7 +39,7 @@ The unit test files are in the `tests/` directory.
4139
4240To run the unit tests, just execute:
4341
44- php phpunit.phar
42+ vendor/ phpunit/phpunit/phpunit.php
4543
4644### Functional tests
4745
@@ -55,13 +53,13 @@ Running the following as root in MySQL should do the trick:
5553
5654Then, to run the entire test suite:
5755
58- php behat.phar --expand
56+ vendor/ behat/behat/bin/behat --expand
5957
6058Or to test a single feature:
6159
62- php behat.phar features/core.feature
60+ vendor/ behat/behat/bin/behat features/core.feature
6361
64- More info can be found from ` php behat.phar --help` .
62+ More info can be found from ` vendor/ behat/behat/bin/behat --help` .
6563
6664Finally...
6765----------
Original file line number Diff line number Diff line change 1616 "symfony/finder" : " ~2.3" ,
1717 "nb/oxymel" : " 0.1.0"
1818 },
19+ "require-dev" : {
20+ "phpunit/phpunit" : " 3.7.*" ,
21+ "behat/behat" : " 2.5.*@dev"
22+ },
1923 "suggest" : {
2024 "psy/psysh" : " Enhanced `wp shell` functionality"
2125 },
You can’t perform that action at this time.
0 commit comments