wp-cli / handbook

📖 Complete documentation for WP-CLI

Home Page:https://make.wordpress.org/cli/handbook/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rename plugin unit tests to integration tests?

dingo-d opened this issue · comments

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.

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.

#357

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