SpecSync.Plugin.ExcelTestSource 5.0.0

Prefix Reserved
dotnet add package SpecSync.Plugin.ExcelTestSource --version 5.0.0
                    
NuGet\Install-Package SpecSync.Plugin.ExcelTestSource -Version 5.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SpecSync.Plugin.ExcelTestSource" Version="5.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SpecSync.Plugin.ExcelTestSource" Version="5.0.0" />
                    
Directory.Packages.props
<PackageReference Include="SpecSync.Plugin.ExcelTestSource" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SpecSync.Plugin.ExcelTestSource --version 5.0.0
                    
#r "nuget: SpecSync.Plugin.ExcelTestSource, 5.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SpecSync.Plugin.ExcelTestSource@5.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SpecSync.Plugin.ExcelTestSource&version=5.0.0
                    
Install as a Cake Addin
#tool nuget:?package=SpecSync.Plugin.ExcelTestSource&version=5.0.0
                    
Install as a Cake Tool

Excel Test Source SpecSync Plugin: SpecSync.Plugin.ExcelTestSource

This plugin can be used to synchronize a local test cases from Excel file using the format that Azure DevOps uses when you export Test Cases to CSV.

You can find more information about the SpecSync sample plugins in the repository page.

The Test Cases are loaded from the Excel from a hierarchical structure: a Test Case row (step fields empty) and additional test step rows (Test Case fields empty).

In order to load the Test Cases from excel, the plugin uses the following columns in the Excel file:

  • Test Case ID (default column name: ID), mandatory column.
  • Test Case Title (default column name: Title), mandatory column.
  • Test Case Step Index (default column name: Test Step), optional column.
  • Test Case Step Action (default column name: Step Action), mandatory column.
  • Test Case Step Expected Result (default column name: Step Expected), optional column.
  • Test Case Tags (default column name: Tags), optional column.
  • Test Case Description (default column name: Description), optional column.
  • Test Case Automation Status (default column name: Automation Status), optional column.
  • Test Case Automated Test Name (default column name: Automated Test Name), optional column.

The default column names can be changed using plugin parameters. The following example shows how to rename all columns:

    "plugins": [
      {
        "packageId": "SpecSync.Plugin.ExcelTestSource",
        [...]
        "parameters": {
          "TestCaseIdColumnName": "My ID",
          "TitleColumnName": "My Title",
          "TestStepColumnName": "My Test Step",
          "TestStepActionColumnName": "My Step Action",
          "TestStepExpectedColumnName": "My Step Expected",
          "TagsColumnName": "My Tags",
          "DescriptionColumnName": "My Description",
          "AutomationStatusColumnName": "My Automation Status",
          "AutomatedTestNameColumnName": "My Automated Test Name",
        }
      }
    ]

All other columns can be automatically updated to fields of the Test Case. In order to do that, you need to add an item to the fieldUpdateColumns plugin parameter setting, like

    "plugins": [
      {
        "packageId": "SpecSync.Plugin.ExcelTestSource",
        [...]
        "parameters": {
          "fieldUpdateColumns": [
            {
              "columnName": "Priority",
              "fieldName": "Priority" // can be omitted if the same as 'columnName'
            }
          ]
        }
      }
    ]

If the automatic update is not enough (e.g. because you need to transform the value), you can also convert the column values to normal tags and then use the "updateFields" feature to save them to fields. For this, the TagNamePrefix setting has to be specified:

    "plugins": [
      {
        "packageId": "SpecSync.Plugin.ExcelTestSource",
        [...]
        "parameters": {
          "fieldUpdateColumns": [
            {
              "columnName": "Priority",
              "tagNamePrefix": "priority:" // generates tags, like `@priority:high`
            }
          ]
        }
      }
    ]

If the Excel contains new Test Case rows (where the ID cell is empty), SpecSync will create a new Test Case and set the ID cell value with the ID of the created Test Case. When the WriteIdWithPrefix plugin parameter is set to true, SpecSync will write back the ID to excel with prefix (e.g. tc:1234) otherwise (default) only the number will be written.

The plugins that override local test source require a SpecSync Enterprise license to run. Please contact us to get an evaluation license that you can use to try out this plugin.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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 was computed.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0 0 12/12/2025
1.1.0 214 9/23/2024
1.0.0 550 12/21/2022
1.0.0-pre20221215-2 250 12/15/2022
1.0.0-pre20221215-1 420 12/15/2022
1.0.0-pre20221214-1 268 12/14/2022