Monday, October 14, 2013

Ad-hoc Testing


This type of testing is done without any formal Test Plan or Test Case creation. Ad-hoc testing helps in deciding the scope and duration of the various other testing and it also helps testers in learning the application prior starting with any other testing. It is the least formal method of testing. 
One of the best uses of Ad-hoc testing is for discovery. Reading the requirements or specifications (if they exist) rarely gives you a good sense of how a program actually behaves. Even the user documentation may not capture the “look and feel” of a program. Ad-hoc testing can find holes in your test strategy, and can expose relationships between subsystems that would otherwise not be apparent. In this way, it serves as a tool for checking the completeness of your testing. Missing cases can be found and added to your testing arsenal. Finding new tests in this way can also be a sign that you should perform root cause analysis.
Ask yourself or your test team, “What other tests of this class should we be running?” Defects found while doing Ad-hoc testing are often examples of entire classes of forgotten test cases. Another use for Ad-hoc testing is to determine the priorities for your other testing activities. In our example program, Panorama may allow the user to sort photographs that are being displayed. If Ad-hoc testing shows this to work well, the formal testing of this feature might be deferred until the problematic areas are completed. On the other hand, if Ad-hoc testing of this sorting photograph feature uncovers problems, then the formal testing might receive a higher priority.

Ad hoc Testing is a commonly used term for software testing performed without planning and documentation (but can be applied to early scientific experimental studies).
The tests are intended to be run only once, unless a defect is discovered. Ad hoc testing is the least formal test method. As such, it has been criticized because it is not structured and hence defects found using this method may be harder to reproduce (since there are no written test cases). However, the strength of ad hoc testing is that important defects can be found quickly.

Ad hoc Testing is an informal and improvisational approach to assessing the viability of a product. An ad hoc test is usually only conducted once unless a defect is found.
Commonly used in software development, ad hoc testing is performed without a plan of action and any actions taken are not typically documented. Testers may not have detailed knowledge of product requirements. Ad hoc testing is also referred to as random testing and monkey testing.
Because the approach is non-methodical, ad hoc testing can miss flaws that would be found in a more structured testing system. However, the lack of formal requirements also means that obvious flaws can be attended to more quickly than if they had to be approached in a more systematic fashion.

 

No comments:

Post a Comment