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

Make it easier to scaffold tests within a plugin #218

Open
1 task done
swissspidy opened this issue Jul 7, 2023 · 0 comments
Open
1 task done

Make it easier to scaffold tests within a plugin #218

swissspidy opened this issue Jul 7, 2023 · 0 comments

Comments

@swissspidy
Copy link
Member

Feature Request

Describe your use case and the problem you are facing

Adding tests for commands within a plugin requires a bit more work at the moment. It would be nice if we could make that a bit easier.

See WordPress/plugin-check#215 for a recent example, see also the code coverage part and the custom behat config and FeatureContext.php file.

Describe the solution you'd like

Add a new arg to the scaffold-package-tests command to indicate that the tests are for a specific plugin (or detect whether it's a plugin folder) and change logic accordingly.

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

1 participant