Abstract: Unit Testing
Unit Testing
Written by Scot Inscore   

Unit Testing allows developers to test that a unit of code still functions properly after a change. Currently Unit Testing in Joomla is being switched to the PHPUnit framework, however most code lacks any Unit Testing. A few of the major benefits for Joomla from Unit Testing include:

  • Highlight cases where minor changes cause unexpected breakage.
  • Specify how a class should behave.
  • Expose design flaws early in development.
  • Serve as examples, and help developers understand how to use code as well as what the code is expected to do
 

Show other articles of this author