In This Chapter

  • Various programming tests
  • How to do more-complex testing
  • Creating test scripts
  • Is an error physical or logical?
  • Knowing when to stop testing

A program is only as good as the code behind it and the process by which it is created. Testing is intended to find defects or “bugs” in the system before they reach the end user and are serious problems in the workplace.

Both developers and testers are responsible for finding defects—developers are supposed to find them as they write code, testers are supposed to find them once the code is put together. In this chapter, I discuss testing code and the different ways to ...

Get Beginning Programming now with O’Reilly online learning.

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