pull

Pulls changes from Azure DevOps server to the local repository. This by default includes creation of new scenarios from unlinked test cases (create) and changing scenarios of linked test cases (change).

See more details about the command in the Pulling Test Case changes to local scenarios article.

Options

In addition the the options listed here, all common command line options can also be used.

OptionDescriptionDefault

--tagFilter

not filtered by tags

--sourceFileFilter

not filtered by feature files

--createOnly

If specified, the command will create new scenarios for the unlinked Test Cases only and the existing scenarios will not be modified. This setting automatically enables the 'enableCreatingScenariosForNewTestCases' pull setting.

false

--force

If specified, SpecSync changes scenarios even if there is no remote change and the scenario was not modified locally.

false

Examples

Pulls remote changes from Azure DevOps using the configured settings in the specsync.json configuration file:

dotnet specsync pull

Pulls remote changes using the specified Personal Access Token (PAT) for authentication:

dotnet specsync pull --user 52yny...........................nycsetda

Pulls remote changes related to the scenarios tagged with @ordering and @backend:

dotnet specsync pull --tagFilter "@ordering and @backend"

Pulls unlinked Test Cases to new scenarios but ignores changed Test Cases:

dotnet specsync pull --createOnly
Command line reference

Last updated