stepreport.cli 1.0.54

dotnet tool install --global stepreport.cli --version 1.0.54
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local stepreport.cli --version 1.0.54
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=stepreport.cli&version=1.0.54
                    
nuke :add-package stepreport.cli --version 1.0.54
                    

Reqnroll.StepReport ๐Ÿงช

A .NET CLI tool that extracts all Reqnroll step definitions from your C# files and outputs them into a structured JSON file (steps.json).

Perfect for QA/SDETs who want to integrate step definitions into documentation tools, Gherkin editors, or test step visualizers.


๐Ÿ“ฆ Installation

Make sure you have .NET SDK 6.0 or later installed.

dotnet tool install -g stepreport.cli

๐Ÿš€ Usage
Navigate to your Reqnroll project folder or pass the path as an argument:

bash
Copy
Edit
stepreport "C:\Path\To\Your\Project"
This will:

Scan all .cs files for [Given], [When], and [Then] attributes

Extract each step with its expression, parameters, and folder name

Output a steps.json file in the same directory

๐Ÿงพ Example Output of steps.json

[
  {
    "StepDefinitionType": "Given",
    "Expression": "the user is on the login page",
    "Parameters": [],
    "Folder": "Authentication"
  },
  {
    "StepDefinitionType": "When",
    "Expression": "the user submits their email \\\"(.*)\\\"",
    "Parameters": ["string"],
    "Folder": "Authentication"
  }
]

๐Ÿ›  Features
Supports nested folders and multiple step definition files

Recognizes parameter types like int, decimal, bool, and string

Avoids duplicates across files/folders

๐Ÿš€You can then upload the json file to https://gherkinbuilder.com/ and create feature files with your steps! ๐Ÿš€
Product 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.54 519 7/23/2025
1.0.53 530 7/22/2025
1.0.52 528 7/22/2025
1.0.51 530 7/22/2025
1.0.50 233 7/19/2025
1.0.31 82 7/18/2025
1.0.5 75 7/18/2025
1.0.4 80 7/18/2025
1.0.3 79 7/18/2025
1.0.2 79 7/18/2025
1.0.1 142 7/17/2025
1.0.0 138 7/17/2025