MSpec 和 ReSharper 问题
我从 codebetter teamcity 网站获取了最新的 mspec,并按照建议安装了 Resharper5.1 运行程序。运行器和注释在 resharper 选项对话框中显示良好。
现在,即使勾选了注释库,我仍然到处都会收到“field xxx is neverused”警告,当我要求 resharper 运行解决方案中的所有测试时,它似乎找不到我的规范。
我已经解锁了dll。
使用 resharper 5.1。
I've got the latest mspec from the codebetter teamcity site and installed the Resharper5.1 runner as suggested. The runner and the annotations show up fine in the resharper option dialogs.
Now even with the annotations library ticked I still get "field xxx is never used" warnings everywhere and when I ask resharper to run all tests in the solution it doesn't seem to find my specifications.
I have unblocked the dlls.
Using resharper 5.1.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“字段 xyz 从未使用”警告仅在应用了
Subject
属性的类中消失。如果您不使用Subject
,您可以通过在规范项目中禁用警告 169 来解决该问题。有关解决方案运行问题的一些问题:
(与解决方案运行相反)工作
为你?
规格,通过单击
排水沟中的绿色/黄色图标?
正确反映解决方案的
上下文和规范?
"Field xyz is never used" warnings only go away for classes that have the
Subject
attribute applied. If you don't useSubject
you can work around the issue by disabling warning 169 in your spec projects.Some questions about your issues with solution runs:
(as opposed to solution runs) work
for you?
specifications by clicking the
green/yellow icon in the gutter?
correctly reflect the solution's
contexts and specifications?