C# 有人在使用 Spectre BDD 框架吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19517/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is anybody using the Specter BDD Framework?
提问by Rick
I was reading the example chapter from the book by Ayendeand on the website of the Boo languageI saw a reference to the Specter BDD Framework.
我正在阅读Ayende 书中的示例章节,在 Boo 语言的网站上,我看到了对Spectre BDD Framework的引用。
I am wondering if anybody is using it in their project, how that works out and if there are more examples and/or suggested readings.
我想知道是否有人在他们的项目中使用它,它是如何工作的,以及是否有更多示例和/或建议阅读。
Just in case you are wondering, I'm a C# developer and so I plan to use it in a C#/.NET environment.
以防万一您想知道,我是一名 C# 开发人员,所以我计划在 C#/.NET 环境中使用它。
A few year later visiting this question. I think we can safely assume Specflowand some others like NSpecbecame the tools we are using.
采纳答案by Brad Wilson
I'm not using it, but I've seen demos of it. It's very nice.
我没有使用它,但我看过它的演示。这是很不错的。
Boo has a lot of interesting extensibility points in parsing and interpreting the language itself that make it ideal for writing frameworks like Specter. The end result is much nicer looking than you'd be able to get with languages like C#.
Boo 在解析和解释语言本身方面有很多有趣的可扩展性点,这使其成为编写 Spectre 等框架的理想选择。最终结果比使用 C# 等语言获得的结果要好看得多。
Unfortunately, the fact that Boo isn't "in the box" and can't simply be something you check into your source tree and use really holds it back here. It's a much heavier adoption cost than just picking a framework like NSpec.
不幸的是,事实上 Boo 不是“在盒子里”并且不能简单地成为你检查到你的源代码树并使用的东西,这真的把它限制在了这里。与仅仅选择像 NSpec 这样的框架相比,采用成本要高得多。
回答by justin.m.chase
I have used it a little, I'm starting a new project right now and I plan on using specter. I'm really enjoying it.
我已经使用了一点,我现在正在开始一个新项目,我计划使用幽灵。我真的很享受。