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

Create a dedicated doc for how to write Behat tests #3

Open
danielbachhuber opened this issue Jan 27, 2017 · 1 comment
Open

Create a dedicated doc for how to write Behat tests #3

danielbachhuber opened this issue Jan 27, 2017 · 1 comment

Comments

@danielbachhuber
Copy link
Member

WP-CLI integration test documentation exists in two places:

It would be more user-friendly to have an uberdoc for Behat tests. We could have two sections:

  1. Introduction - Getting started, and writing your first test
  2. 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/

@renatonascalves
Copy link

I think this is important! I'm new with Behat and I'm having trouble to add a custom plugin. I always get errors that class or functions used in the commands does not exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants