Re: Regression Testing
- Posted by Robert Craig <rds at RapidEuphoria.com> Jul 18, 2005
- 522 views
Jason Gade wrote: > I follow the D programming lists even though I don't contribute or really > write anything > in D. But the question occurs to me about regression testing. > > Before reading the D list I never really knew what regression testing was. > I'm sure > that Walter has his own set of tests, but every time something doesn't meet > the published > spec, Thomas Kuehne adds it to his project called DStress and tracks it. > > Is there anything formal like this done for Euphoria or Win32lib? How about > other > projects? What kind of regression testing is done for Euphoria or Euphoria > projects? > How are results tracked? A good example of a regression test is euphoria\demo\sanity.ex It quickly and automatically self-tests dozens of features. I run it and many other programs when I'm adding new code. I also have a sanity2.ex that I haven't released. I often add new tests to these programs when a bug is detected. I also interpret/compile/bind many large programs such as the IDE. For testing the translator, I save all the .c and .h files in a directory, and then I do an A vs B diff to see where the C code has changed. That's a good way of confirming that a new optimization does what it's supposed to do and doesn't introduce a bug. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com