开发者

Show variables or some info in Scenario

开发者 https://www.devze.com 2023-04-05 17:56 出处:网络
I want to show variable values in console while my scenari开发者_如何学Goo performing. Cause I don`t know how to know it in another way.logger.debug(whatever)

I want to show variable values in console while my scenari开发者_如何学Goo performing. Cause I don`t know how to know it in another way.


logger.debug(whatever)
puts whatever
binding.pry # Links below

Pry and Rails and Pry

Or ruby debugger, or debug inside an IDE, or...

0

精彩评论

暂无评论...
验证码 换一张
取 消