Chapter 22. Incorporating Unit Testing

IN THIS CHAPTER

With short release cycles, it is important not to compromise your application’s quality because even the smallest of changes can cause a critical bug.

Thus, with small development cycles, quick testing is the key. The Agile software development process states that you should break down an application into the smallest possible pieces and associate a test to each of them. So every piece of code is referred to as a unit, and every unit of code has an associated unit test. So, you typically code a little, test a little, and repeat until your work is done. Or the even better approach is to write the unit test first, run it to confirm it fails, and then ...

Get Adobe AIR Programming Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.