23 May
2016
23 May
'16
10:31 a.m.
On Sun, May 22, 2016 at 11:26 PM, Gavin Lambert
... If it works for you, that's fine -- but these are some of the reasons why test frameworks generally avoid those things and use macros and auto-registration instead.
Ah, okay thanks for the detailed reply. I see what you mean now, and you're right those things are not possible without macros and I can see where they are useful in some situations. My experience over the last 5 or so years is that I write the test and get it working and after that, I don't see a failure for months or years. If there is a failure I just set a breakpoint. So I have not invested much in terms of features such as reporting the file and line number.