首页 文章

测试资源管理器无法识别SpecFlow功能

提问于
浏览
0

我添加了NUnit,NUnit测试适配器,SpecFlow,我的测试在测试资源管理器中无法识别 . 如果我从功能文件中运行测试,右键单击,它表示构建成功,但没有任何反应,它在0,001秒终止 . 我也检查了默认的处理器架构,但还可以 . 我怎么能解决任何想法?

Login.feature

Feature: Login
    Test the login functionality of application
    Will verify if the username and password combinations are working as expected

@Regressiontest
@Browser:Chrome
Scenario Outline: Verify if the login functionality is working (+ve case)
    Given I have navigated to my application
    And I typed the <username> and <password>
    When I click login button
    Then I should see the EA page

Examples:
 | username | password |
 | admin    | admin    |
 | karthik  | karthik  |

1 回答

  • 0

    NUnit和NUnit3测试适配器版本不一样,这就是为什么测试在测试资源管理器中无法识别的原因 .

相关问题