wp-cli-tests
wp-cli-tests copied to clipboard
WP-CLI testing framework
Right now, if you provide the version as `WP_VERSION=5.1`, it will pull in WP version 5.1, even if 5.1.1 is available. This causes issues in tests that rely on the...
To help prevent regressions like https://github.com/wp-cli/wp-cli/issues/5521, it would be nice to run our test suites against Windows. **Done is:** * Our automated tests are running against Windows in all repos.
To ensure consistent formatting of the feature files, it would be nice to add a linter. https://github.com/j13k/yaml-lint looks like a good candidate. Related https://github.com/j13k/yaml-lint/issues/81 **Done is:** * Behat feature file...
There should be a spellchecking test that verifies that documentation and docblocks don't contain any typos. Language should be configurable per set of files/folders to allow for the translated pages...
Behat steps should be documented through docblocks. These can then be pulled into both the handbook as well as this repo's `README.md` file.
From @danielbachhuber in https://github.com/wp-cli/wp-cli-tests/pull/23#issuecomment-415775930: > It'd be nice to have a set of Behat tests within this test suite repo asserting the behavior of each Behat step we provide.
When Behat compares two elements and finds them to not match, it would be helpful for debugging purposes to have a diff available that shows the exact difference between the...
## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** When writing my own CLI commands, they sometimes perform...
## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...
When running composer prepare-tests and there is an errro, no usefull information is shown. Now It displays all the variables it uses. And when giving an error, display where to...