Category Archives: Software Testing

Introduction

My name is Andon and I am a student at  Worcester State University with major Computer Science. In this blog, I will be sharing my ideas about software testing, software development, and big data. I believe that software development is a very interesting field to be explored!

From the blog Table of Code by Andon S and used with permission of the author. All other rights reserved by the author.

WordPress for CSS-443

Hello, my name is Tan Trieu. I am currently an undergraduate attending Worcester State University as a Computer Science major. Many people may not know this but CS 443 is my favorite course!….

From the blog CS@Worcester – Tan Trieu's Blog by tanminhtrieu and used with permission of the author. All other rights reserved by the author.

Boundary Value Testing

The following are some key points I collected from reading chapter 5 in the Software Testing book (by Paul C. Jorgensen).

One of the main uses of boundary value testing is to test for mistakes (or failures)
arising from using the wrong comparision operator. It is also a specification-based
testing (we are not worried about how the software unit is implemented) technique because we test whether the outputs are correct given valid or invalid inputs.

There are four variations of boundary value testing:
1. Normal boundary value testing (Deals only with valid inputs and is based on the single fault assumption)
2. Robust boundary value testing (Deals with both valid and invalid inputs and is based on the single fault assumption)
3. Worst-case boundary value testing (Deals only with valid inputs and is NOT based on the single fault assumption)
4. Robust worst-case boundary value testing (Deals only both valid inputs and invalid inputs and is NOT based on the single fault assumption)

The number of test cases for normal boundary value testing is 4n+1.
The number of test cases for robust boundary value testing is 6n+1.
The number of test cases for worst-case boundary value testing is 5^n.
The number of test cases for robust worst-case boundary value testing is 7^n.

From the blog Software Testing – The blog about software by MegaMind and used with permission of the author. All other rights reserved by the author.