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

Easy unit and e2e test scaffolding for custom blocks #3706

Closed
danielbachhuber opened this issue Nov 28, 2017 · 1 comment
Closed

Easy unit and e2e test scaffolding for custom blocks #3706

danielbachhuber opened this issue Nov 28, 2017 · 1 comment
Labels
[Feature] Extensibility The ability to extend blocks or the editing experience [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.

Comments

@danielbachhuber
Copy link
Member

danielbachhuber commented Nov 28, 2017

We make it easy for WordPress plugin authors to add (unit) tests with wp scaffold plugin-tests.

It would be helpful to have a similar "standard automated testing" pattern for WordPress block authors.

This could even be used to help prevent scenarios like #3693 (comment)

The blocks in the gutenberg-examples repo don't work, and neither does the code in the "create blocks" tutorial. The code examples are all out of date and need to be updated to keep up with Gutenberg development.

Related #641

@gziolo gziolo added the [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. label Nov 28, 2017
@danielbachhuber danielbachhuber changed the title EZ integration tests for blocks Easy e2e test scaffolding for custom blocks Mar 30, 2018
@danielbachhuber danielbachhuber changed the title Easy e2e test scaffolding for custom blocks Easy unit and e2e test scaffolding for custom blocks Mar 30, 2018
@danielbachhuber danielbachhuber added the [Feature] Extensibility The ability to extend blocks or the editing experience label Mar 30, 2018
@danielbachhuber
Copy link
Member Author

Moving over to wp-cli/ideas#103 as I think it's more appropriate there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Extensibility The ability to extend blocks or the editing experience [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
Projects
None yet
Development

No branches or pull requests

2 participants