Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Mbunit,并且我已经在 Mbunit 中编写了测试。但是,当我尝试运行测试时,它给了我一个错误:
由于未加载或禁用测试,因此未运行任何测试。
您需要提供更多信息,例如使用什么版本的 MbUnit 以及使用什么测试运行器?
如果您使用版本 2,请确保使用 [TextFixture] 属性装饰您的类,并使用 [Test] 之一装饰测试方法。