一尘不染

NUnit无法建立测试-未找到测试

selenium

我正在从事seleniumWeb驱动程序项目。我能够构建测试Test Explorer并执行。

重建解决方案时,我立即遇到以下错误。

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,但问题未解决。

请帮助我解决此问题。

谢谢。


阅读 369

收藏
2020-06-26

共1个答案

一尘不染

似乎是这样的问题:Visual StudioFsUnit测试设置-异常NUnit.Engine.NUnitEngineException因此,安装适配器版本3.0.10应该可以解决您的问题。至少对我有用。

您可以在github上关注此问题。

2020-06-26