Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some guidelines for how to test well you code before creating PR #2007

Merged
merged 2 commits into from
Aug 22, 2017

Conversation

ravinderk
Copy link
Collaborator

No description provided.

@ravinderk ravinderk added this to the 1.8.13 milestone Aug 22, 2017
CONTRIBUTING.md Outdated
@@ -71,3 +71,12 @@ Follow the steps below to configure ESLint with PHPStorm:
Open any JS file and you'll see suggestions from ESLint, if any.

That's all! You're done.

## How to test code before creating PR
You can create a awesome PR if:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"an awesome"

CONTRIBUTING.md Outdated

## How to test code before creating PR
You can create a awesome PR if:
1. `debug.log` is empty after testing code functionality.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The debug.log found in /wp-content/

CONTRIBUTING.md Outdated
## How to test code before creating PR
You can create a awesome PR if:
1. `debug.log` is empty after testing code functionality.
2. Do not contain any testing purpose code.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Does not contain and testing code like var_dump() and console.log()

CONTRIBUTING.md Outdated
You can create a awesome PR if:
1. `debug.log` is empty after testing code functionality.
2. Do not contain any testing purpose code.
3. Passes all phpunit test.
Copy link
Member

@DevinWalker DevinWalker Aug 22, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"tests"

CONTRIBUTING.md Outdated
1. `debug.log` is empty after testing code functionality.
2. Do not contain any testing purpose code.
3. Passes all phpunit test.
4. No formatting issue while check formatting `php_codesniffer`/`eslint` with `WordPress Coding Standard`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"issues when checking formatting via"

CONTRIBUTING.md Outdated
2. Do not contain any testing purpose code.
3. Passes all phpunit test.
4. No formatting issue while check formatting `php_codesniffer`/`eslint` with `WordPress Coding Standard`.
5. Works fine at least on PHP `5.3` and PHP `7.*`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"on at least"

@ravinderk
Copy link
Collaborator Author

@DevinWalker grammatical changes done.

@DevinWalker DevinWalker changed the base branch from release/1.8.13 to master August 22, 2017 05:42
@DevinWalker DevinWalker changed the base branch from master to release/1.8.13 August 22, 2017 05:43
@DevinWalker DevinWalker merged commit 133a2dc into impress-org:release/1.8.13 Aug 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants