On 9/21/2014 4:27 AM, Manu via Digitalmars-d wrote:
It's also extremely hard to unittest; explodes the number of static if paths
exponentially. I'm constantly finding bugs appear a year after writing some code
because I missed some static branch paths when originally authoring.

If you throw -cov while running unittests, it'll give you a report on which code was executed and which wasn't. Very simple and useful.

Reply via email to