WhyTestCases

We don't need any test cases, do we?! After all we know what we are doing.

Quite. But a typo is never out of question no matter how simple an expression is. So having test cases in place is a good thing to avoid these embarrassments.

There is a second and more important reason: Most people do not have access to all the main interpreters: APL2, APLX, APL+Win, Dyalog APL, NARS2000. Having a test case in place makes it easy to check whether a phrase runs in other dialects as well. Last not least, there might be a reason to change a phrase when again it's convenient to execute the test cases afterwards.

However, test cases should follow certain standards in order to make adjustments, when necessary, as easy as possible. That's what the PhraseTemplate tries to support and achieve. For full details how the automated code executioner works see TestCasesGuidelines.


CategoryPhraseBookBackground

PhraseBook/WhyTestCases (last edited 2010-12-11 08:40:52 by KaiJaeger)