Ad hoc testing is a commonly used term for planned
software testing
Software testing is the act of examining the artifacts and the behavior of the software under test by validation and verification. Software testing can also provide an objective, independent view of the software to allow the business to apprecia ...
that is performed without initial
test case
In software engineering, a test case is a specification of the inputs, execution conditions, testing procedure, and expected results that define a single test to be executed to achieve a particular software testing objective, such as to exercise ...
documentation;
however, ad hoc testing can also be applied to other scientific research and
quality control
Quality control (QC) is a process by which entities review the quality of all factors involved in production. ISO 9000 defines quality control as "a part of quality management focused on fulfilling quality requirements".
This approach places ...
efforts.
Ad hoc tests are useful for adding additional confidence to a resulting product or process, as well as quickly spotting important defects or inefficiencies,
but they have some disadvantages, such as having inherent uncertainties in their performance
and not being as useful without proper documentation post-execution and -completion.
Occasionally, ad hoc testing is compared to
exploratory testing Exploratory testing is an approach to software testing that is concisely described as simultaneous learning, test design and test execution. Cem Kaner, who coined the term in 1984, defines exploratory testing as "a style of software testing that em ...
as being less rigorous, though others argue that ad hoc testing still has value as "improvised testing that deals well with verifying a specific subject."
Ad hoc testing of software
When
testing software, that testing may be methodical or more improvisational. Methodical testing will include written
test cases
In software engineering, a test case is a specification of the inputs, execution conditions, testing procedure, and expected results that define a single test to be executed to achieve a particular software testing objective, such as to exercise ...
, which detail their own set of specified inputs, execution conditions, testing procedures, and expected results as a means of achieving a particular software testing objective. Ad hoc testing may have a more "improvisational" feel to it as initial test cases are not documented and the tester's
intuition
Intuition is the ability to acquire knowledge without recourse to conscious reasoning. Different fields use the word "intuition" in very different ways, including but not limited to: direct access to unconscious knowledge; unconscious cognition; ...
, skillset, and experience are more relevant;
however, ad hoc testing of software is still largely a planned activity.
The tester still intends to apply—as part of the overall
software development process
In software engineering, a software development process is a process of dividing software development work into smaller, parallel, or sequential steps or sub-processes to improve design, product management. It is also known as a software devel ...
—their own methodology to find
bugs not anticipated for by planned test cases using any means that seem appropriate given the situation.
Ad hoc testing can, for example, be an extension of existing documented test cases but intend to apply invented variations of those test cases improvisationally without formally documenting the specifics beforehand.
However, as Desikan notes, to get the most from an ad hoc test and limit its downsides, the test should be properly documented post-execution and -completion, and the results report should address how any defects were identified in a step-by-step manner.
Ad hoc testing in other scientific pursuits
Ad hoc testing is not limited to software development. Ad hoc testing has been applied in other scientific and
quality management
Quality management ensures that an organization, product or service consistently functions well. It has four main components: quality planning, quality assurance, quality control and quality improvement. Quality management is focused not only ...
scenarios. For example, ad hoc testing has been applied in standardized on-site testing at healthcare facilities of "the
electromagnetic immunity of
medical device
A medical device is any device intended to be used for medical purposes. Significant potential for hazards are inherent when using a device for medical purposes and thus medical devices must be proved safe and effective with reasonable assura ...
s and help identify
interference
Interference is the act of interfering, invading, or poaching. Interference may also refer to:
Communications
* Interference (communication), anything which alters, modifies, or disrupts a message
* Adjacent-channel interference, caused by extr ...
issues that might exist with critical medical devices as a result of emissions from
RF transmitters RF is an abbreviation for radio frequency.
Rf or RF may also mean:
Arts and entertainment
* ''Red Faction (series)'', a series of revolution video games
* Rinforzando, , in music notation
* ''RF Online'', an online RPG made by CCR
Businesses
* ...
," using IEEE/ANSI C63.18-2014.
Other areas where ad hoc testing has been applied include:
*
clinical diagnostics and
point-of-care testing
Point-of-care testing (POCT or bedside testing) is defined as medical diagnostic testing at or near the point of care—that is, at the time and place of patient care. This contrasts with the historical pattern in which testing was wholly or most ...
*
food and beverage safety
*
healthcare
Health care or healthcare is the improvement of health via the prevention, diagnosis, treatment, amelioration or cure of disease, illness, injury, and other physical and mental impairments in people. Health care is delivered by health profe ...
and
public health
Public health is "the science and art of preventing disease, prolonging life and promoting health through the organized efforts and informed choices of society, organizations, public and private, communities and individuals". Analyzing the det ...
research
References
{{Reflist, colwidth=30em
Software testing