NUnit的失败搭建测试

编程入门 行业动态 更新时间:2024-10-17 05:02:15
本文介绍了NUnit的失败搭建测试 - 无测试发现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我的工作硒网络驱动程序项目。我能够内置在测试测试资源管理器和执行。

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的失败搭建测试

本文发布于:2023-11-06 23:56:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1565005.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:测试   NUnit

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!