Section 1: Getting started with software testing

In this section, we introduce the reader to the idea of software testing and its importance. More specifically, we discuss the following topics:

  • 1.1 Why software testing?: By means of a simple example, we will convince the reader that proper testing is a fundamental activity that needs to be done to achieve high-quality software systems. We will also convince the reader that, while the process of deriving test cases is a manual activity, its execution should be automated.

  • 1.2 Principles of software testing: We explain to the reader some of the "truths" about testing software. Among others, we explain why exhaustive testing is infeasible, and why we need to vary the testing techniques we apply in order to keep finding bugs.

  • 1.3 Software testing automation: We introduce to the reader the JUnit tool. JUnit is the de-facto industry standard for writing automated tests in Java. We show that, once tests are automated, software development teams enjoy benefits, such as confident refactoring. This is an introductory chapter; readers that are familiar with JUnit can skip it.

  • 1.4 Testing vs writing tests and 1.5 Developer testing workflow: Modern software development is all about quality. To achieve it, developers should perform both testing and design techniques. In these chapters, we explain how we envision testing as part of the developer's work cycle.

results matching ""

    No results matching ""