mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 13:43:38 +09:00
797bc2fd98
git-subtree-dir: includes/lib/action-scheduler git-subtree-split: c828347715e6c3318c8ab8b4fea2d87b31d51aac
21 lines
521 B
Markdown
21 lines
521 B
Markdown
# 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
|
|
```
|