-f 很适合牛排
我想查看牛排的所有步骤,就像当我为 cucumber
执行 cucumber features -f Pretty
时,它会显示所有通过、失败和未定义的步骤。类似地,在rspec
中它是-f嵌套
。如果是牛排有什么命令吗?在某些情况下,牛排不会显示哪一行出错。例如:我有一个变量 post
,但我错误地使用了 @post
。在这种情况下,很难发现错误出在哪里。我正在使用 debugger
并执行 n
直到引发异常。我希望有其他想法来检测错误,因为在这种情况下使用调试器检测我的错误确实很烦人。我希望我的问题很清楚。
I want to see all the steps for steak, like when I do cucumber features -f pretty
for cucumber
it shows all the passing, failing and undefined steps. Similarly in rspec
it is -f nested
. Is there any command in case of steak? In certain cases the steak does not show which line gave error. For instance: I have a variable post
and I use @post
by mistake. In this case, it is very difficult to detect where is the error. I am using debugger
and doing n
until an exception is raised. I hope there is other idea to detect the error, because detecting my error with debugger
in this case is really tiresome. I hope my question is clear.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论