Feature: Do global search/replace

  Scenario: Basic search/replace
    Given a WP install

    When I run `wp search-replace foo bar`
    Then STDOUT should contain:
      """
      guid
      """

    When I run `wp search-replace foo bar --skip-columns=guid`
    Then STDOUT should not contain:
      """
      guid
      """

Feature: Do global search/replace

  Scenario: Basic search/replace
    Given a WP install

    When I run `wp search-replace foo bar`
    Then STDOUT should contain:
      """
      guid
      """

    When I run `wp search-replace foo bar --skip-columns=guid`
    Then STDOUT should not contain:
      """
      guid
      """

  Scenario: Large search/replace
    Given a WP install

    And I run `wp post generate --count=1200`

    And I run `wp search-replace $( wp option get siteurl ) testreplacement`
    Then STDOUT should be a table containing rows:
    """
    Table	Column	Replacements
    wp_posts	guid	1202
    """

Add a test for large search/replace failure.
Add a test for large search/replace failure.
