push

Pushes changes of the scenarios on the local repository to the Jira server. This includes linking of new scenarios to new test cases (link) and updating test cases of linked scenarios (update).

See more details about the command in the Pushing scenario changes to Test Cases article.

Options

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

Option
Description
Default

--disableLocalChanges

local changes enabled

--tagFilter

not filtered by tags

--sourceFileFilter

not filtered by feature files

--linkOnly

If specified, the command will link new scenarios to new Test Cases only and the existing Test Cases will not be updated.

false

--force

If specified, SpecSync update test cases even if there is no local change and the test case was not modified remotely.

false

Examples

Pushes local changes to Jira using the configured settings in the specsync.json configuration file:

dotnet specsync push

Pushes local changes using the specified Personal Access Token (PAT) for authentication:

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

Pushes local changes of the scenarios tagged with @ordering and @backend:

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

Pushes local changes of the scenarios in order.feature):

dotnet specsync push --sourceFileFilter "order.feature"

Last updated