wp-cli/wp-cli — pull request #430 by scribu (2013-04-30 14:37:53+00:00)
Title: Functional tests for `wp shell`

It turns out it's not that hard to test the output from `wp shell`, once you realize that it just reads input from STDIN.