Configuration reference
SpecSync can be configured using a json configuration file, by default called specsync.json. This section contains a detailed reference of the SpecSync configuration options. For a general introduction about how SpecSync configuration works, please check the Configuration file page.
The Setup and Configure page contains information about how to initialize the configuration file.
A minimal configuration file
The following example shows a minimal configuration file.
{
"$schema": "https://schemas.specsolutions.eu/specsync4azuredevops-config-v5-latest.json",
"compatibilityVersion": "5",
"remote": {
"projectUrl": "https://specsyncdemo.visualstudio.com/MyCalculator",
}
}Root-level settings
The following settings can be specified at the root level of the configuration file:
$schema— Specifies the JSON schema URL for the configuration file. This enables auto-completion and validation in most IDE editors.compatibilityVersion— Specifies the SpecSync version that the configuration file was created for. See note above for details.configurationKey— A unique identifier for this SpecSync configuration within the Azure DevOps project. Optional, but recommended, especially when using remote scopes. The configuration key helps prevent conflicts when multiple configurations synchronize to the same project. For more details, see the Configuration key feature page.
Configuration sections
The settings in the configuration file are grouped into different configuration sections. Each configuration section is a JSON object following the syntax:
Available configuration sections
The following configuration sections can be used. Click to the name of the section for detailed documentation.
toolSettings— settings for the synchronization toollocal— settings for the local repository (file system) containing the feature filesremote— Settings for accessing the test cases on the remote Azure DevOps serverknownRemotes— Specify connection and authentication details of Azure DevOps projects that are used by multiple synchronization projects. This setting can be used in user-specific configuration files.synchronization— synchronization settingshierarchies— Test Case hierarchy synchronization settingspublishTestResults- test result publish settingsspecFlow— settings related to synchronizing SpecFlow projects
* [`reqnroll`](configuration-reqnroll.md) — settings related to synchronizing Reqnroll projects {/%AzureDevOps%} * [`customizations`](configuration-customizations.md) — configure customizations
Last updated
Was this helpful?