OSDN Git Service

mention where the test files are
authorscribu <mail@scribu.net>
Thu, 8 Aug 2013 18:33:50 +0000 (21:33 +0300)
committerscribu <mail@scribu.net>
Thu, 8 Aug 2013 18:34:29 +0000 (21:34 +0300)
CONTRIBUTING.md

index b049aaf..a3d736e 100644 (file)
@@ -9,14 +9,12 @@ So you've got an awesome idea to throw into WP-CLI. Great! Here's the process, i
 
 It doesn't matter if the code isn't perfect. The idea is to get feedback early and iterate.
 
-If you're adding a new feature, please add one or more functional tests for it in the `features` directory. See below.
-
-Also, please create or update the appropriate `.txt` file in the `man-src` directory. See below.
+If you're adding a new feature, please add one or more functional tests for it in the `features/` directory. See below.
 
 Lastly, please follow the [WordPress Coding Standards](http://make.wordpress.org/core/handbook/coding-standards/).
 
-Running the tests
------------------
+Running and writing tests
+-------------------------
 
 There are two types of tests:
 
@@ -33,6 +31,8 @@ To run the unit tests, just execute:
 
     vendor/bin/phpunit
 
+The test files are in the `tests/` directory.
+
 ### Functional tests
 
 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:
 
 More info can be found from `vendor/bin/behat --help`.
 
+The feature files are in the `features/` directory.
+
 Finally...
 ----------