Software Testing Is A Way To Assess The Quality of The Software and To Reduce The Risk of Software Failure in Operation
Software Testing Is A Way To Assess The Quality of The Software and To Reduce The Risk of Software Failure in Operation
Software systems are an integral part of life, from business applications (e.g., banking) to consumer products
(e.g., cars).
Most people have had an experience with software that did not work as expected. Software that does not work
correctly can lead to many problems, including loss of money, time, or business reputation, and even injury or
death.
Software testing is a way to assess the quality of the software and to reduce the risk of software failure
in operation.
A common misperception of testing is that it only consists of running tests, i.e., executing the software and
checking the results.
● Software testing is a process which includes many different activities; test execution (including checking
of results) is only one of these activities.
The test process also includes activities such as test planning, analyzing, designing, and implementing tests,
reporting test progress and results, and evaluating the quality of a test object.
● Dynamic testing:
Some testing does involve the execution of the component or system being tested; such testing is called
dynamic testing.
● Static testing:
Other testing does not involve the execution of the component or system being tested; such testing is
called static testing.
So, testing also includes reviewing work products such as requirements, user stories, and source code.
Another common misperception of testing is that it focuses entirely on verification of requirements, user stories,
or other specifications.
While testing does involve checking whether the system meets specified requirements, it also involves
validation, which is checking whether the system will meet user and other stakeholder needs in its operational
environment(s).
Typical Objectives of Testing For any given project, the objectives of testing may include:
● To prevent defects by evaluate work products such as requirements, user stories, design, and code (To
evaluate work product )
● To verify whether all specified requirements have been fulfilled
● To check whether the test object is complete and validate if it works as the users and other stakeholders
expect
● To build confidence in the level of quality of the test object
● To find defects and failures thus reduce the level of risk of inadequate software quality
● To provide sufficient information to stakeholders to allow them to make informed decisions, especially
regarding the level of quality of the test object
● To comply with contractual, legal, or regulatory requirements or standards, and/or to verify the test
object’s compliance with such requirements or standards
Test Process :
There is no one universal software test process, but there are common sets of test activities without
which testing will be less likely to achieve its established objectives. These sets of test activities are a
test process.
The proper, specific software test process in any given situation depends on many factors. Which test
activities are involved in this test process, how these activities are implemented, and when these
activities occur may be discussed in an organization’s test strategy.
Test Process in Context Contextual factors that influence the test process for an organization, include,
but are not limited to:
Software development lifecycle model and project methodologies being used
Test levels and test types being considered
Product and project risks Business domain
Operational constraints, including but not limited to:
o Budgets and resources
o Timescales
o Complexity
o Contractual and regulatory requirements
Organizational policies and practices
Required internal and external standards
The following sections describe general aspects of organizational test processes in terms of the following:
● Test activities and tasks
● Test work products
● Traceability between the test basis and test work products
It is very useful if the test basis (for any level or type of testing that is being considered) has measurable
coverage criteria defined. The coverage criteria can act effectively as key performance indicators (KPIs)
to drive the activities that demonstrate achievement of software test objectives (see section 1.1.1).
For example, for a mobile application, the test basis may include a list of requirements and a list of
supported mobile devices. Each requirement is an element of the test basis. Each supported device is
also an element of the test basis. The coverage criteria may require at least one test case for each
element of the test basis. Once executed, the results of these tests tell stakeholders whether specified
requirements are fulfilled and whether failures were observed on supported devices.