3 thoughts on “testing: add t.Helper to make file:line results more useful

  1. how about changing Error and friends so that they print all the file/line numbers up to the top-level Test function?

    This seems really noisy to me as a default.

    If a given primitive selects a particular frame count, some other code might wrap that primitive and then the frame count is wrong again.

    Caleb’s proposal handles this case, and the proposal doc discusses it explicitly. Perhaps something in the doc needs clarifying or expanding.

Comments are closed.