Skip to Content
Taking Testing Seriously
book

Taking Testing Seriously

by James Bach, Michael Bolton
November 2025
Intermediate to advanced
560 pages
16h 10m
English
Wiley
Content preview from Taking Testing Seriously

CHAPTER 7How to Approach AI and Testing

—By James Bach and Michael Bolton

What If We Could Test by Magic?

Artificial intelligence is now a major factor to consider in all forms of knowledge work. Developments in AI keep coming. There's no way a book like this—constructed from the organic experiences and thoughts of humans from a certain era—can say exactly what is coming. Nevertheless, there is a helpful way to talk about artificial intelligence that is proof against all possible futures: we can talk about magic.

Consider a magic testing box. You don't know how it works, but—according to the leprechaun who gave it to you—when you place it near a product to be tested and perform the appropriate ceremonies of activation, it finds and reports bugs in that product. Pretty nice, huh? Not necessarily. To a professional tester—to anyone taking testing seriously—it may be more of a burden than a boon. This is because the magic box sets for you a puzzle that you cannot ignore: did it do a good job? Sure, the honest-looking leprechaun assured you that it “works.” But let's say that taking other people's word for what constitutes good testing is not your style.

Let's say you try it out. If it doesn't find bugs, was that because there were no bugs to find? Or did you forget to turn it on? Perhaps you did not make the correct offerings of incense and chocolate, and it operated at only half-strength? Perhaps it found bugs, but didn't find the good ones. We are tempted to write a very long ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Effective Software Testing

Effective Software Testing

Mauricio Aniche
Site Reliability Engineering

Site Reliability Engineering

Niall Richard Murphy, Betsy Beyer, Chris Jones, Jennifer Petoff
How AI Works

How AI Works

Ronald T. Kneusel

Publisher Resources

ISBN: 9781394253197