gpt4 book ai didi

specflow - 获取 specflow 中所有可能步骤的命令

转载 作者:行者123 更新时间:2023-12-05 05:21:06 26 4
gpt4 key购买 nike

在 Visual Studio 中,当我输入特征文件时,如果该步骤尚不存在,它会突出显示。我想知道是否有可以在命令行中为 specflow 项目编写的命令,它可以为我提供已存在的所有步骤的列表?

最佳答案

您正在寻找步骤定义报告。查看它的文档 here :

specflow.exe stepdefinitionreport <YourPorjectName>.csproj
  • Steps with a red background are steps that exist in the automation layer but are not used in any feature files.
  • Steps with a yellow background are steps that exist in a feature file but do not have a corresponding definition.
  • Steps without a special backgrounds are steps that exist both in feature files and the automation layer. Ideally, all your steps are like this.

关于specflow - 获取 specflow 中所有可能步骤的命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43371875/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com