2 Specification-based testing

This chapter covers

  • Creating test cases using specification-based testing
  • Identifying and creating test cases for program boundaries

Software requirements are undoubtedly the most valuable artifact of software testing. By requirements, I mean any textual document that describes what a functionality should do. Requirements tell us precisely what the software needs to do and what it should not do. They describe the intricacies of the business rules that the software has to implement and we need to validate. Therefore, requirements should be the first artifact you go for when it comes to testing!

In this chapter, we explore specification-based testing. These techniques use the program requirements—such as agile user ...

Get Effective Software Testing 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.