Skip to Main Content
Code Craft
book

Code Craft

by Pete Goodliffe
December 2006
Intermediate to advanced content levelIntermediate to advanced
610 pages
22h 58m
English
No Starch Press
Content preview from Code Craft

Who, What, When, and Why?

For our software testing to be effective, we need to understand why we test, who does it, what it entails, and when it is done.

Why We Test

As software developers, our testing procedure exists for a few reasons: to help us to find faults and fix them, and to ensure the same faults don’t reappear in later versions.

Note that testing can never reveal the absence of faults, only their existence. If your tests don’t find any bugs, it doesn’t necessarily mean they aren’t there; it just means you haven’t found them yet.

KEY CONCEPT

Testing can only discover the presence of faults. It can’t prove the absence of faults. Don’t be led into a false sense of security by code that passes a suite of inadequate tests.

Software testing at ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Write Great Code, Volume 2, 2nd Edition

Write Great Code, Volume 2, 2nd Edition

Randall Hyde
The Art of Clean Code

The Art of Clean Code

Christian Mayer

Publisher Resources

ISBN: 9781593271190Errata