NUnit的失败搭建测试 - 无测试发现 [英] NUnit fail to build test - No Tests discovered
问题描述
我的工作硒
网络驱动程序项目。我能够内置在测试测试资源管理器
和执行。
I am working on selenium
web driver project. I was able to built tests in Test Explorer
and execute.
目前,一旦我重新构建解决方案时,得到以下错误。
At once I am getting following errors when rebuilding the solution.
Unit Adapter 3.2.0.0: Test discovery starting
NUnit VS Adapter 2.0.0.0 discovering tests is started
NUnit Adapter 3.2.0.0: Test discovery starting
NUnit VS Adapter 2.0.0.0 discovering tests is started
Attempt to load assembly with unsupported test framework in C:\..\CustomerTest.exe
NUnit VS Adapter 2.0.0.0 discovering test is finished
Attempt to load assembly with unsupported test framework in C:\..\LoginTest.exe
NUnit VS Adapter 2.0.0.0 discovering test is finished
Exception NUnit.Engine.NUnitEngineException, Exception thrown discovering tests in C:\..\CustomerTest.exe
Cannot run tests in process - a 32 bit process is required.
NUnit Adapter 3.2.0.0: Test discovery complete
Exception NUnit.Engine.NUnitEngineException, Exception thrown discovering tests in C:\..\LoginTest.exe
Cannot run tests in process - a 32 bit process is required.
NUnit Adapter 3.2.0.0: Test discovery complete
========== Discover test finished: 0 found (0:00:02.5558095) ==========
我已经更改了默认的处理器架构,以 X64
,但问题没有得到解决。
I have changed the default processor architecture in to X64
, but issue not resolved.
请帮我解决这个问题。
Please help me to resolve this issue.
感谢您。
推荐答案
这似乎是喜欢这里同样的问题:的 Visual Studio的FsUnit测试设置 - 例外NUnit.Engine.NUnitEngineException 所以安装适配器版本3.0.10应该解决您的问题。至少它为我做的。
It seems to be the same problem like here: Visual Studio FsUnit test setup - Exception NUnit.Engine.NUnitEngineException So installing Adapter Version 3.0.10 should solve your problem. At least it did for me.
您可以按照上的 github上。
这篇关于NUnit的失败搭建测试 - 无测试发现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!