Add a test for large search/replace failure.
Use the STDOUT saving technique so tests can pass.

The wp aliases in my PATH made me oblivious before...
Add a test for the case when the replacement contains the search string.

In this case the current code works, but alternatives I was considering
might not.

Also removed the small test - that case is already covered.
Adjust chunking based on whether the replacement contains the search string.
Generate only as many posts as needed to test chunking.
Revert "Adjust chunking based on whether the replacement contains the search string."

This reverts commit 45770c2d2fef4da9021ef458e4ef55504a7b5872.
Add a dry run test to make sure the iterator doesn't depend on updates.
Reduce chunk offset to account for updated rows.
behat: move utility functions to separate file
behat: add aditional args if command merely starts with a given string
behat: extend 'the file should' step
Merge pull request #473 from cyberhobo/fix-incomplete-search-replace

Replace all occurrences in large search-replace operations
behat: pass BEHAT_RUN env variable

see #473
some behat enhancements
behat: use table in 'should be a table containing rows' step
behat: refactor search-replace tests by using a scenario outline
behat: use table in 'should be CSV containing' step
Merge pull request #483 from wp-cli/behat-tables

Make use of Gherkin table feature
first pass at ditching wp-admin/setup-config.php
core config: abort if wp-config.php already exists