Output filename:linenumber for failed assertions #60

Closed
jzaefferer opened this Issue Nov 27, 2010 · 3 comments

Projects

None yet

1 participant

@jzaefferer
Member

Seeing where an assertion is defined can be very useful. Maybe generate a stacktrace via trow new Error, catch that immeditely and inspect it.

@jzaefferer
Member

There's no spec for stacktraces, so its a big mess. This project may help, though too much overhead to use as-is: https://github.com/emwendelin/Javascript-Stacktrace

@jzaefferer
Member

Adding output of sourcefile and linenumber of failed assertions (except ok()). Only limited cross-browser support for now. Closed by 60e9902

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment