Squashed 'libraries/action-scheduler/' content from commit a95f351
git-subtree-dir: libraries/action-scheduler git-subtree-split: a95f351058eada5e5281faa22e5a40865542e839
This commit is contained in:
20
tests/README.md
Normal file
20
tests/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Action Scheduler tests
|
||||
|
||||
To run unit tests:
|
||||
|
||||
1. Make sure that PHPUnit is installed by running:
|
||||
```
|
||||
$ composer install
|
||||
```
|
||||
|
||||
2. Install WordPress and the WP Unit Test lib using the `install.sh` script:
|
||||
```
|
||||
$ tests/bin/install.sh <db-name> <db-user> <db-password> [db-host] [wp-version] [skip-database-creation]
|
||||
```
|
||||
|
||||
You may need to quote strings with backslashes to prevent them from being processed by the shell or other programs.
|
||||
|
||||
Then, to run the tests:
|
||||
```
|
||||
$ composer run test
|
||||
```
|
||||
Reference in New Issue
Block a user