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

Rename plugin unit tests to integration tests? #247

Open
dingo-d opened this issue Aug 16, 2018 · 2 comments
Open

Rename plugin unit tests to integration tests? #247

dingo-d opened this issue Aug 16, 2018 · 2 comments

Comments

@dingo-d
Copy link

dingo-d commented Aug 16, 2018

The title of the chapter Plugin Unit Tests is a bit misleading.

Unit tests are usually done when adding/modifying some core feature/component, and plugins work within WordPress so the tests in the plugin are in fact integration tests.

The chapter title should be renamed to Plugin Integration Tests.

@schlessera
Copy link
Member

I agree, the entire scaffolding feature of tacking the WP Core unit tests onto plugins has lead to a lot of confusion.

I have a few things I want to change with the scaffolding in the near future, and will certainly address this as well.

@spicecadet
Copy link
Contributor

#357

There is another mention of Unit tests at the bottom. The file name has unit rather than integration. Should these change as well?

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

3 participants