-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
1,788 additions
and
551 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Contributing | ||
|
||
## Automated Testing | ||
|
||
Clone this repository. | ||
|
||
``` | ||
$ git clone git@github.com:vccw-team/wordpress-extension.git | ||
``` | ||
|
||
Change into the directory. | ||
|
||
``` | ||
$ cd wordpress-extension | ||
``` | ||
|
||
Install dependencies. | ||
|
||
``` | ||
$ npm install | ||
$ composer install | ||
``` | ||
|
||
Start a WordPress server. | ||
|
||
``` | ||
$ export WP_VERSION=latest | ||
$ export WP_THEME=twentysixteen | ||
$ npm run install-wp | ||
$ npm run wp | ||
``` | ||
|
||
Run the test! | ||
|
||
``` | ||
$ npm test | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,7 @@ features/ | |
node_modules/ | ||
npm-debug.log | ||
package.json | ||
phpspec.yml | ||
spec/ | ||
vendor/ | ||
wp-cli-nightly.phar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Copyright (c) 2016 Takayuki Miyauchi <miya@wpist.me> | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation | ||
files (the "Software"), to deal in the Software without | ||
restriction, including without limitation the rights to use, | ||
copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the | ||
Software is furnished to do so, subject to the following | ||
conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
{ | ||
"name": "vccw-team/wordpress-extension", | ||
"description": "WordPress extension for the Behat", | ||
"type": "library", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Takayuki Miyauchi", | ||
"email": "miya0001@users.noreply.github.com" | ||
} | ||
], | ||
"minimum-stability": "dev", | ||
"require": { | ||
"behat/behat": "3.*@stable", | ||
"behat/mink": "1.6.*@dev", | ||
"behat/mink-extension": "2.*@dev", | ||
"behat/mink-browserkit-driver": "*@dev", | ||
"behat/mink-goutte-driver": "*@dev", | ||
"behat/mink-selenium2-driver": "*@dev" | ||
"behat/behat": "~3.2", | ||
"behat/mink": "~1.7", | ||
"behat/mink-extension": "~2.2", | ||
"behat/mink-selenium2-driver": "~1.3.1", | ||
"phpunit/phpunit": "^5.6" | ||
}, | ||
"require-dev": { | ||
"phpspec/phpspec": "^3.1" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"VCCW\\Behat\\Mink\\WordPressExtension\\": "src/" | ||
} | ||
"psr-4": { | ||
"VCCW\\Behat\\Mink\\WordPressExtension\\": "src/" | ||
} | ||
} | ||
} |
Oops, something went wrong.