O'Reilly logo

The Domain Testing Workbook by Douglas Hoffman, Sowmya Padmanabhan, Cem Kaner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SECTION 1. PART 1: INTRODUCTION TO DOMAIN TESTING

The essence of domain testing is that you partition a domain (a set of values) into subdomains (equivalence classes) and select representatives of each subdomain for your tests.

Equivalence class analysis is about similarity. Two values belong in the same class if they are so similar the program will treat them the same way.

Testing with only one or two representatives of each class allows you to substantially reduce the number of tests.

Picking representatives is about risk. As used in this book, a risk is a way the program can fail. Look for a value that is a little more likely to cause the program to fail than the others. This value is often at the boundary of a class. Picking powerful ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required