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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.