英文:
JUnit output does not include Gherkin pre-fixes
问题
我对此还不熟悉,所以如果这个问题很明显的话,请原谅我...
我正在使用Cucumber框架在Eclipse中运行JUnit测试。我已经达到了一个一切都正常工作的地步,然而,JUnit输出没有在条目前加上Gherkin描述,例如Scenario:,Given:,Then:,When:等等。我在网上找到的每个例子,它们似乎都是作为标准存在的。
我尝试了添加许多不同的jar文件(以防我漏掉了某些特定的东西),但没有成功,我也浏览了所有明显的首选项/配置设置,但仍然没有发生任何变化。
我使用的Eclipse版本是 - Version: Neon.3 Release (4.6.3),Build id: 20170314-1500
使用JUnit4
不确定是否有人能帮助?但如果您需要任何其他信息,请告诉我,因为我遇到了一些困难...
非常感谢
Carl
英文:
I'm new to this so excuse me if this is an obvious question...
I'm running a JUnit test in Eclipse using a cucumber framework. I have arrived at a point where everything is now working, however, the JUnit output does not prefix the entries with the Gherkin descriptions, i.e. Scenario:, Given:, Then:, When:, etc. Every example I've found online, they just seem to be there as standard.
I've tried adding a multitude of different jar files (just in case I was missing something specific) with no success, and I've also run through all the obvious preferences/config settings but it's just not happening.
The version of eclipse I'm using is - Version: Neon.3 Release (4.6.3), Build id: 20170314-1500
with JUnit4
Not sure if anyone can assist? but if you need any other information please let me know as I've hit a bit of a brick wall....
Many thanks
Carl
专注分享java语言的经验与见解,让所有开发者获益!
评论