-
Notifications
You must be signed in to change notification settings - Fork 6
Display line number where pending was called in backtrace #25
Comments
source locations in tcl are tricky. Here's my attempt. The frame level there will probably need some logic, as it's fine-tuned to the project set-up |
@jowers can you take a look? |
@jowers the updated version: in cucumber-tcl-wire that is more robust against frame level differences |
Hi @d-led, thanks for the contribution on this. I'll try to put together a test that we can try out - as you said, source locations can be tricky, and I'm finding that testing in a standlone file is returning locations one level out at the moment. Probably best to see how it behaves within the cucumber code before I go investiigating that though. |
@jowers you're welcome! Here's the initial isolated investigation that lead to the code http://ideone.com/mdBT4s upd: the only magic number left is the framelevel of |
the shortcomings can be seen here: http://ideone.com/K5zZva |
De-scoped from #22.
example:
The text was updated successfully, but these errors were encountered: