http://d.puremagic.com/issues/show_bug.cgi?id=2618





------- Comment #2 from dsim...@yahoo.com  2009-01-26 07:46 -------
Well, IMHO, asserts are supposed to be for pre- and postconditions and internal
consistency checks and are essentially tests in themselves.  Unittesting the
asserts, then, is just plain overkill.  If it's the kind of thing were it's
more than just a sanity check, then you probably should be using "real"
exceptions anyhow.  Honestly, I've heard of people testing for "regular"
exceptions being thrown when they should be, but never asserts.


-- 

Reply via email to