TL;DR
In the previous post, we explained the problem of coverage criteria for testing. An important part of test coverage are test requirements. What is the test requirement? We will introduce you to software testing based on the remarkable book, Introduction To Software Testing by Paul Ammann and Jeff Offutt.
Test Requirement Definition
A test requirement is a specific element of a software artifact that a test case must satisfy or cover [Ammann, Offutt].
Test requirements come in sets. Let’s recap what could be a software artifact related to the testing requirement.
Source Code
Important software artifact that defines the logic of your application. Many software development teams make mistake and take this as the ONLY software artifact.
Design Components
Divide and conquer complicated architectures by dividing them into components. Create test requirements in the scope of an individual component. Each component has an interface for communication with other components.
Specification Modeling Elements
The most popular software artifact that defines the behavior of the product. Usually is poorly written and missing a lot of important information. The solution is Example Mapping sessions.
Description Of Input/Output Space
Software artifact that describes application data. Many software development teams forget that a product is a SET OF INSTRUCTIONS that executes against PROGRAM DATA.
Example Of Test Requirements Problems
Let’s examine two problems where we need to create a set of test requirements.
None Software
We have a contract with the company Guard, producer of sanitizers. They produce three kinds:
- For Surface
- For Hand
- For Electronic Equipment
All three kinds are transparent and on packing have a different color: blue for surface, orange for electronic, green for hands.
What is the number and description of test requirements to determine is sanitizer correctly packaged?
Software
You applied a company for Braintree gateway. Braintree works with companies from fifty countries. Each country has seven steps application procedure where each step differs for countries from each continent.
What is the number and description of test requirements to determine if the company correctly applied for Braintree?
Comments are closed.