TickSpec.Build 2.10.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package TickSpec.Build --version 2.10.0
NuGet\Install-Package TickSpec.Build -Version 2.10.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="TickSpec.Build" Version="2.10.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TickSpec.Build --version 2.10.0
#r "nuget: TickSpec.Build, 2.10.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.
// Install TickSpec.Build as a Cake Addin
#addin nuget:?package=TickSpec.Build&version=2.10.0

// Install TickSpec.Build as a Cake Tool
#tool nuget:?package=TickSpec.Build&version=2.10.0

TickSpec.Build generates test classes to execute TickSpec (Gherkin/BDD) based specifications

TickSpec.Build fixtures FeatureFixtures.fs

It automatically integrates into the build process as "BeforeCompile" target when integrated via NuGet package.

HTML documentation

TickSpec.Build additionally supports generating HTML documents for the feature files

TickSpec.Build doc ./src ./html

When generating the HTML files to the output location the F# project local folders are preserved.

Using --toc html a HTML table of contents and with --toc json a Json table of contents can be generated.

Styling

The generated HTML documents intentionally only contain HTML fragments of type "article" so that those articles can easily be integrated in an existing HTML documentation.

These articles provide the following CSS classes for styling:

  • gherkin-keyword applies to the keywords like GIVEN, WHEN, THEN
  • gherkin-scenario-body applies to the body of a scenario
  • gherkin-scenario applies to a complete scenario
  • gherkin-tags applies to the tags attached to scenarios
  • gherkin-description applies to a comment provided above a scenario
  • gherkin-scenario-title applies to the title of a scenario
  • gherkin-feature-title applies to the feature title

If you want to use the generated articles as a standalone documentation use --toc html to generate a standalone HTML document. Put a style.css next to the ToC.html to define the CSS classes listed above

MsBuild integration

To integrate the HTML generation into your MsBuild based build process set the property FeatureFileHtmlOutput to the location the HTML files should be generated too. By default, only the feature files local to this project are considered. You can change this by setting the property FeatureFileHtmlInput.

The format of the table of contents can be set using property TickSpecBuildTocFormat.

Story behind this project

The following articles tell the story behind this project:

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. 
.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.

This package has no dependencies.

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
3.0.0 96 1/27/2024
2.10.0 163 12/6/2023
2.9.0 163 4/12/2023
2.8.0 161 4/11/2023
2.7.0 151 4/11/2023
2.6.0 165 4/11/2023
2.5.0 165 4/10/2023
2.4.0 161 4/10/2023
2.3.0 171 4/10/2023
2.2.0 219 3/27/2023
2.1.0 191 3/27/2023
2.0.0 187 3/27/2023
1.1.0 216 3/8/2023
1.0.0 221 3/7/2023