NUnit的没有找到在组件测试 [英] NUnit doesn't find tests in assembly

查看:133
本文介绍了NUnit的没有找到在组件测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我继承与MSTest的组装,但这些测试使用构建机器上NUnit控制台上运行(不知道它是如何工作)。所以,我决定把它整理并将其更改为正确的NUnit的测试,但现在NUnit控制台(或GUI)无法找到任何测试。他们使用ReSharper的测试运行,虽然运行得很好。任何想法可能会错过什么呢?

I inherited an assembly with MSTest, but these tests were run using nunit-console on the build machine (not sure how it worked). So I decided to sort it out and change them to proper NUnit tests, but now nunit-console (or gui) can't find any tests. They run just fine using ReSharper test runner though. Any idea what could be missing?

推荐答案

感谢您的帮助,大家好。升级到最新的NUnit的框架固定的问题(你认为明显的事情是确定)。

Thanks for help, everyone. Upgrading to the latest NUnit framework fixed the problem (all the obvious things you suggested were OK).

弗雷德里克Gheysels,你可以尝试以及我猜。

Frederik Gheysels, you can try that as well I guess.

这篇关于NUnit的没有找到在组件测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆