简体   繁体   English

DoFixture错误:尝试遵循fitSharp教程

[英]DoFixture error: Trying to follow fitSharp tutorial

I'm trying to follow along in the free ebook "Test Driven .NET Development With FitNesse: Second Edition" from http://gojko.net/fitnesse/book/ 我正试图从http://gojko.net/fitnesse/book/跟随免费电子书“使用FitNesse进行测试驱动的.NET开发:第二版”

The HelloWorld example works great, but 2nd example (page 41) always fails with an error of: HelloWorld示例运行良好,但第二个示例(第41页)始终失败,错误为:

fitSharp.Machine.Exception.TypeMissingException: Type 'DoFixture' not found in assemblies

For the life of me, I can't figure out what is different that will make the 2nd example fail. 对于我的生活,我无法弄清楚有什么不同会使第二个例子失败。

Using VS2005 使用VS2005

Can anyone confirm/help? 有人可以确认/帮忙吗?

Thanks 谢谢

OK, my error. 好的,我的错误。

For the record: I forgot to make the fixture class public. 为了记录:我忘了将夹具类公开。

I do wish there was better error tracing/debugging. 我希望有更好的错误跟踪/调试。

A "debug at error" link would have solved this in an instant. “错误调试”链接可以立即解决这个问题。 Sigh. 叹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM