features/pull.feature in salesforce-deploy-tool-3.2.0 vs features/pull.feature in salesforce-deploy-tool-3.3.1

- old
+ new

@@ -5,18 +5,22 @@ I want to be able to retrieve code from a sandbox Scenario: Retrieve code from the default sandbox When I run `sf pull` Then the exit status should be 0 + And the file "/tmp/sfdt-test/build.xml" should match /sf:retrieve/ + And the file "/tmp/sfdt-test/build.xml" should match /retrieveTarget/ + And the file "/tmp/sfdt-test/build.xml" should match /unpackaged/ And the output should match: """ ^INFO: Pulling changes from testEnv using url https://test.salesforce.com.*OK """ Scenario: Retrieve code from a specific sandbox When I run `sf pull -s testEnvAlt` Then the exit status should be 0 + And the file "/tmp/sfdt-test/build.xml" should match /sf:retrieve/ And the output should match: """ ^INFO: Pulling changes from testEnvAlt using url https://test.salesforce.com.*OK """ @@ -24,45 +28,50 @@ Given I set the environment variables to: | variable | value | | SFDT_SALESFORCE_URL | https://invalid_url.salesforce.com | When I run `sf pull` Then the exit status should be 1 + And the file "/tmp/sfdt-test/build.xml" should match /sf:retrieve/ And the output should match: """ ^INFO: Pulling changes from testEnv using url https://invalid_url.* """ Scenario: Retrieve code from a production When I run `sf pull -s prod` Then the exit status should be 0 + And the file "/tmp/sfdt-test/build.xml" should match /sf:retrieve/ And the output should match: """ ^INFO: Pulling changes from prod using url https://login.salesforce.com.*OK$ """ Scenario: Retrieve code from the default sandbox with debug output When I run `sf pull -d` Then the exit status should be 0 + And the file "/tmp/sfdt-test/build.xml" should match /sf:retrieve/ And the output should contain "BUILD SUCCESSFUL" And the output should match: """ ^INFO: Pulling changes from testEnv using url https://test.salesforce.com.* """ Scenario: Retrieve code from a specific sandbox with debug output When I run `sf pull -s testEnv -d` Then the exit status should be 0 + And the file "/tmp/sfdt-test/build.xml" should match /sf:retrieve/ And the output should contain "BUILD SUCCESSFUL" And the output should match: """ ^INFO: Pulling changes from testEnv using url https://test.salesforce.com.*$ """ @ant Scenario: Retrieve code from the default sandbox with debug output and specifying ant library path When I run `sf pull -d -l lib/ant34.jar` Then the exit status should be 0 + And the file "/tmp/sfdt-test/build.xml" should match /sf:retrieve/ And the output should match: """ ^INFO: Pulling changes from testEnv using url https://test.salesforce.com $ ^$ ^AntLibraryFile: .*lib/ant34.jar$ @@ -76,9 +85,10 @@ Given I set the environment variables to: | variable | value | | SFDT_ANT_LIB | lib/ant34.jar | When I run `sf pull -d` Then the exit status should be 0 + And the file "/tmp/sfdt-test/build.xml" should match /sf:retrieve/ And the output should match: """ ^INFO: Pulling changes from testEnv using url https://test.salesforce.com $ ^$ ^AntLibraryFile: .*lib/ant34.jar$