【发布时间】:2019-05-12 17:23:03
【问题描述】:
我添加了 NUnit、NUnit 测试适配器、SpecFlow 和我的测试在测试资源管理器中无法识别。如果我从功能文件运行测试,右键单击,它表示构建成功,但没有任何反应,它在 0,001 秒内终止。我也检查了默认的处理器架构,但没关系。我该如何解决它的任何想法?
登录功能
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 |
【问题讨论】:
-
Show output from设置为Tests的Output窗口中显示什么? -
是的,但它是空的 [prnt.sc/ltqfuj] - [prntscr.com/ltqh29]
-
构建输出中是否有任何错误?
Login.feature.cs中是否有有效代码? -
NUnit 和 NUnit3 测试适配器版本不一样,这就是测试资源管理器无法识别测试的原因。现在我可以运行它们,但我遇到了另一个错误 [stackoverflow.com/questions/53734102/…
标签: selenium visual-studio-2015 automated-tests nunit specflow