Skip to content

Commit

Permalink
[DOCS] Add docs for running the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Jenkins committed Jun 24, 2021
1 parent 8a95bdf commit b2e3bfc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,14 @@

This is used for bootstrapping tests, actually writing of tests should be done within individual `mu-plugins`.

Please follow the [Running the tests](https://github.com/boxuk/wp-project-skeleton#running-the-tests) section of the main README.
## Running the tests

### Using docker

* `bin/docker/phpunit`

### Not using docker

* Ensure `tests/.env` exists and is configured correctly.
* `tests/create-test-db.sh` (if you need to create the database
* `bin/phpunit`

0 comments on commit b2e3bfc

Please sign in to comment.