-
Notifications
You must be signed in to change notification settings - Fork 347
Open
Labels
Description
WP-CLI integration test documentation exists in two places:
- https://make.wordpress.org/cli/handbook/pull-requests/#running-and-writing-tests
- https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-tests
It would be more user-friendly to have an uberdoc for Behat tests. We could have two sections:
- Introduction - Getting started, and writing your first test
- Advanced usage - Now that you've written a test, here's how you write steps, etc.
Once this document exists, we can have both existing places link directly to it.
Related https://deliciousbrains.com/writing-functional-tests-wp-cli-packages/