Skip to content

Commit e2b72d9

Browse files
committed
mention where the test files are
1 parent 64a0930 commit e2b72d9

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

‎CONTRIBUTING.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ So you've got an awesome idea to throw into WP-CLI. Great! Here's the process, i
99

1010
It doesn't matter if the code isn't perfect. The idea is to get feedback early and iterate.
1111

12-
If you're adding a new feature, please add one or more functional tests for it in the `features` directory. See below.
13-
14-
Also, please create or update the appropriate `.txt` file in the `man-src` directory. See below.
12+
If you're adding a new feature, please add one or more functional tests for it in the `features/` directory. See below.
1513

1614
Lastly, please follow the [WordPress Coding Standards](http://make.wordpress.org/core/handbook/coding-standards/).
1715

18-
Running the tests
19-
-----------------
16+
Running and writing tests
17+
-------------------------
2018

2119
There are two types of tests:
2220

@@ -33,6 +31,8 @@ To run the unit tests, just execute:
3331

3432
vendor/bin/phpunit
3533

34+
The test files are in the `tests/` directory.
35+
3636
### Functional tests
3737

3838
Before running the functional tests, you'll need a MySQL user called `wp_cli_test` with the
@@ -51,6 +51,8 @@ Or to test a single feature:
5151

5252
More info can be found from `vendor/bin/behat --help`.
5353

54+
The feature files are in the `features/` directory.
55+
5456
Finally...
5557
----------
5658

0 commit comments

Comments
 (0)