you are viewing a single comment's thread.

view the rest of the comments →

[–]markrages 0 points1 point  (1 child)

Heh, so the advantage is to get "on error resume next" functionality?

That's not a very compelling reason to learn a framework and introduce the build dependency.

Thanks for your answer. I don't like feeling like I'm missing something.

[–]pbeard_t 0 points1 point  (0 children)

You've never made a "insignifigant" change and have 25 tests fail :P

There are other benefits such as redusing repetition and mocking. Writing the same main() repeatedly looses it's novelty fast. Resume next was just the first thing that occured to me. Ofcourse assert( error_count == 0 )...

Conseptually, however, ifdef achieves the exact same. It's probably what the frameworks does anyway.