Welcome to ManageWP.org

Register to share, discuss and vote for the best WordPress stories every day, find new ideas and inspiration for your business and network with other members of the WordPress community. Join the #1 WordPress news community!

×

Writing Functional Tests for WP-CLI Packages

deliciousbrains.com | 21 day ago | 8 min read

While Matt has made WP-CLI commands and packages before, he didn’t have much experience with testing them. In this article, he takes a look at Behat (the testing framework WP-CLI uses) and how to write functional tests for his wp-installer package.

20 votes   Flag