Configuration wizards
Last updated
Was this helpful?
Last updated
Was this helpful?
SpecSync provides configuration wizard commands that can help creating or modifying the .
The wizards can be invoked from and interactive console like the other command line tool and they go through several steps to prepare the configuration change. The prepared configuration changes are summarized as the last wizard step and the user can confirm or reject the changes.
You can cancel the configuration wizards at any step by pressing Ctrl+C.
During the wizard execution, you might be prompted for specifying different configuration values or choices. For those prompts where there is a meaningful default answer, the default is displayed in parenthesis (e.g. Do you want to check connection? (yes)
). When pressing the Enter key without specifying any value, the default value will be used.
The sections below describe the available wizards.
The init
command initializes SpecSync configuration by creating a specsync.json
configuration file based on the settings provided for the interactive questions asked by the command.
Please find the available command line options at the reference page.
It is recommended to invoke the init
command from the common root folder of the local test cases (feature files) to be synchronized.
During the execution of the command, the basic configuration settings (project URL and authorization settings) can be specified. The init command verifies the connection to the Jira project specified to avoid common authentication issues.
In case of , the command also offers you to save the authentication details to the user-specific configuration file, so that the credentials are not included in the project configuration.
The init
command also offers configuring some useful optional features, like or .
The upgrade
command upgrades the SpecSync configuration file after a SpecSync version upgrade.
The command performs upgrades the configuration simple changes (e.g. renamed settings) automatically and provides options to configure optional features as well that have been introduced with the new version.
The upgrade
command only modifies the configuration file but it does not change anything in the Jira. So you can perform the upgrade
command safely and review the changes in the configuration file manually before performing a synchronization.
Please find the available command line options at the reference page.