SpecBridge 0.0.2-preview3
dotnet tool install --global SpecBridge --version 0.0.2-preview3
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local SpecBridge --version 0.0.2-preview3
#tool dotnet:?package=SpecBridge&version=0.0.2-preview3&prerelease
nuke :add-package SpecBridge --version 0.0.2-preview3
SpecBridge
SpecBridge is a tool designed to synchronize Gherkin specification files (.feature
) with Atlassian Confluence. By leveraging SpecBridge, teams can maintain living documentation, ensuring that Gherkin specifications are always up-to-date, shareable, and accessible to all stakeholders.
Living documentation allows teams to align better, bridge the gap between business and development, and ensure specifications evolve alongside the codebase and requirements.
Key Features
- Automatically indexes
.feature
files from specified directories. - Creates and updates Confluence pages for each
.feature
file. - All generated pages are organized as child pages under a specified parent page in your Confluence space.
Prerequisites
Before using SpecBridge, ensure that you have the following:
- API Token: An Atlassian API token with access to the desired Confluence space. You can generate one here.
- Pre-created Parent Page: A page in the Confluence space under which SpecBridge will create child pages for the specifications.
How It Works
- SpecBridge scans the specified directories for
.feature
files. - Each
.feature
file is converted into a Confluence page. - The pages are created following the same structure as the Gherkin files are organised starting under single parent page (provided by its Page ID in the configuration).
Installation
SpecBridge is a .NET
tool, which means you’ll need to have the .NET SDK (6.0 or higher) installed on your machine to use it. You can install the SDK from the official .NET website: https://dotnet.microsoft.com/.
To install SpecBridge globally as a .NET tool, use the following command:
dotnet tool install --global SpecBridge
To check if SpecBridge is installed correctly, run:
SpecBridge --version
Usage
SpecBridge is not limited to .NET projects and works with any Gherkin .feature
files, regardless of the programming language or framework. You can use it for Ruby, Python, Java, or any other language that uses Gherkin-style .feature
files.
To run SpecBridge, use the command-line arguments provided below:
-f, --features paths to feature files. default is './'
--url Required. atlassian base url, for example
'https://nwwz.atlassian.net'
--space Required. atlassian space key, for example 'SpecBridge'
--page Required. id of the page under which to place the
specifications
--user Required. username to authenticate with
--token Required. token to authenticate with
--help Display help screen.
--version Display version information.
Additional Notes
- Ensure that the specified directory for the
--features
option contains.feature
files. - Use a Confluence API token (not your password) for authentication.
- The specified Page ID should refer to an already existing page in the target Confluence space.
License
This project is licensed under BSD 3-Clause. See the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
0.0.2-preview3 | 159 | 2/10/2025 |
0.0.2-preview2 | 116 | 1/31/2025 |
0.0.2-preview1 | 46 | 1/29/2025 |
0.0.1 | 40 | 1/24/2025 |
0.0.1-preview5 | 162 | 1/6/2025 |
0.0.1-preview4 | 241 | 11/14/2024 |
0.0.1-preview2 | 319 | 10/10/2024 |
0.0.1-preview1 | 89 | 10/9/2024 |
0.0.1-aplha1 | 86 | 10/5/2024 |