-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from pods-framework/feature/skc-fixes
Pods Gravity Forms 1.4
- Loading branch information
Showing
30 changed files
with
5,736 additions
and
1,827 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,8 @@ | ||
WP_URL="http://test.pods.dev" | ||
WP_ROOT_FOLDER="/tmp/wordpress" | ||
DB_NAME=wordpress | ||
DB_USER=wordpress | ||
DB_HOST=localhost | ||
DB_PASSWORD=password | ||
DB_TABLE_PREFIX=wp_ | ||
WP_DOMAIN="test.pods.dev" |
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,9 @@ | ||
WP_URL="http://test.dev" | ||
WP_ROOT_FOLDER="/app/public" | ||
DB_NAME=wordpress_test | ||
DB_USER=root | ||
DB_HOST=localhost | ||
DB_PASSWORD=root | ||
DB_TABLE_PREFIX=wptests_ | ||
WP_DOMAIN="test.dev" | ||
TEST_REBUILD_DATA=true |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
vendor/ | ||
composer.lock | ||
|
||
# Codeception stuff | ||
codeception.yml | ||
!tests/_data/dump.sql | ||
!tests/_data/test-data.sql | ||
tests/_output/* | ||
tests/*.suite.yml | ||
tests/*.pem | ||
tests/*.cert | ||
tests/*.key |
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,19 @@ | ||
# Testing | ||
|
||
These tests utilize [Codeception](http://codeception.com/docs) and [WP Browser](https://github.com/lucatume/wp-browser). | ||
|
||
## Installation | ||
|
||
* `composer install` | ||
* Create a new file `codeception.yml` with the env file you want to use: | ||
|
||
```yaml | ||
params: | ||
- .env.docker | ||
``` | ||
|
||
## Running tests | ||
|
||
```shell | ||
./bin/codecept run integration | ||
``` |
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,16 @@ | ||
actor: Tester | ||
paths: | ||
tests: tests | ||
log: tests/_output | ||
data: tests/_data | ||
support: tests/_support | ||
envs: tests/_envs | ||
settings: | ||
bootstrap: _bootstrap.php | ||
colors: true | ||
memory_limit: 2048M | ||
extensions: | ||
enabled: | ||
- Codeception\Extension\RunFailed | ||
params: | ||
- .env.dist |
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,2 @@ | ||
params: | ||
- .env.docker |
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,34 +1,50 @@ | ||
{ | ||
"name" : "pods-framework/pods-gravity-forms", | ||
"description" : "Pods Gravity Forms Add-On", | ||
"type" : "wordpress-plugin", | ||
"keywords" : [ "pods", "wordpress", "gravityforms", "gravity-forms" ], | ||
"homepage" : "https://github.com/pods-framework/pods-gravity-forms", | ||
"license" : "GPL-2.0+", | ||
"authors" : [ | ||
{ | ||
"name" : "Pods Framework Team", | ||
"email" : "[email protected]", | ||
"homepage" : "http://pods.io/" | ||
}, | ||
{ | ||
"name" : "Scott Kingsley Clark", | ||
"email" : "[email protected]", | ||
"homepage" : "http://scottkclark.com/", | ||
"role" : "Lead Developer" | ||
}, | ||
{ | ||
"name" : "Naomi C. Bush | gravity+", | ||
"email" : "[email protected]", | ||
"homepage" : "https://gravityplus.pro" | ||
} | ||
], | ||
"support" : { | ||
"issues" : "https://github.com/pods-framework/pods-gravity-forms/issues", | ||
"source" : "https://github.com/pods-framework/pods-gravity-forms" | ||
}, | ||
"require" : { | ||
"composer/installers" : "~1.0", | ||
"php" : ">=5.3" | ||
} | ||
"name": "pods-framework/pods-gravity-forms", | ||
"description": "Pods Gravity Forms Add-On", | ||
"type": "wordpress-plugin", | ||
"keywords": [ | ||
"pods", | ||
"wordpress", | ||
"gravityforms", | ||
"gravity-forms" | ||
], | ||
"homepage": "https://github.com/pods-framework/pods-gravity-forms", | ||
"license": "GPL-2.0+", | ||
"authors": [ | ||
{ | ||
"name": "Pods Framework Team", | ||
"email": "[email protected]", | ||
"homepage": "https://pods.io/" | ||
}, | ||
{ | ||
"name": "Scott Kingsley Clark", | ||
"email": "[email protected]", | ||
"homepage": "https://www.scottkclark.com/", | ||
"role": "Lead Developer" | ||
}, | ||
{ | ||
"name": "Naomi C. Bush | gravity+", | ||
"email": "[email protected]", | ||
"homepage": "https://gravityplus.pro", | ||
"role": "Contributing Developer" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/pods-framework/pods-gravity-forms/issues", | ||
"source": "https://github.com/pods-framework/pods-gravity-forms" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Pods\\GF\\": "tests/integration/Pods/GF/", | ||
"Pods\\GF\\Tests\\": "tests/_support/" | ||
} | ||
}, | ||
"require": { | ||
"composer/installers": "~1.0", | ||
"php": ">=5.3" | ||
}, | ||
"require-dev": { | ||
"lucatume/wp-browser": "^2.0", | ||
"vlucas/phpdotenv": "^2.4" | ||
} | ||
} |
Oops, something went wrong.