Time for Phobos CTFE-ability unittests...right? RIGHT?

bcs bcs at example.com
Tue Jul 12 19:14:52 PDT 2011


== Quote from Adam D. Ruppe (destructionator at gmail.com)'s article
> I'd like to point out that *normal code* in Phobos is losing
> functionality far too often too, like replace() no longer working
> on immutable strings as of the last release.
> Generalized templates are great, but not at the cost of existing
> functionality!

The answer to both problems is to have a test suit that is very easy
for the average user to add code to that's run along with the current auto-tester. What I'm thinking of is somthing like codepad.org where
anyone can submit a code sample and where "interested parties" get informed when the results for them change. With that in place, when
some one hits a regression it can be added to the (or a) regression
suit with just a few clicks. With a bit more work, you could even let
people "go back in time" and show that a test case user to run.

Heck, I was looking into building exactly that a few months back but
real life got in the way.


More information about the Digitalmars-d mailing list