Unknown user passed along a link to a terrific article in Dr. Dobb's titled The Relationship Between Testability and Good Design. From that article:
If we've learned anything over the past 10 years, it is that unit testing is an essential discipline. Tests help us better reason about our code, and they form a regression bedrock that makes refactoring and feature addition much easier. There is, however, a very subtle effect of unit testing that few people discuss. There seems to be an eerily consistent connection between testability at the unit level and good design. Almost uniformly, code that is hard to test has design problems. When you fix the design problems, it becomes easy to test.
Can you do unit testing with Clarion? Absolutely! There are two frameworks available, our own ClarionTest and Mark Goldberg's just-released cwUnit.
Thanks for the article link, Geoff!
Mark Goldberg, hand-coder extraordinaire, has released CwUnit, a new unit testing framework for Clarion. Check it out at https://github.com/MarkGoldberg/CwUnit!
Although we've been publishing on the new ClarionMag.com site (formerly DevRoadmaps.com, formerly ClarionMag.com) for months already, we're just now approaching our official relaunch. Renewal notices will be going out next week. If you want to check on your subscription status you can log in to http://archive.clarionmag.com/myclarionmag. You can renew at ClarionShop - until May 30 a one year renewal is just $79. After May 30 the price goes back up to $99 for one year.