You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this is macro specific. Rather, we should show the relative file path and line on which a test was declared, perhaps in grey below the test title. So in the following:
The test() function could obtain a stack trace to figure out the line number. Of course the test could be declared in a separate file, so perhaps it should find the first call site from the test file itself. We need to see what the performance implications are of doing this.
novemberborn
changed the title
Failures in macros should show declaration stacktrace
Show line number of test declaration
Oct 25, 2017
Ideally, we would show the declaration stacktrace as well (i.e.
foo.js:9:1
in the above example).The text was updated successfully, but these errors were encountered: