先决条件 –软件测试
1.临时测试:
临时测试是一种软件测试,在正式测试完成后非正式地、随机地进行,以找出系统中的任何漏洞。因此,它也被称为随机测试或猴子测试。临时测试不是以结构化的方式执行的,因此它不基于任何方法论方法。这就是临时测试是一种非结构化软件测试的原因。
2.猴子测试:
Monkey 测试是一种软件测试,它基于一些随机输入进行,没有任何测试用例,检查系统的行为并确认系统是否崩溃。所以基于 Monkey 测试的模式,它也被称为随机测试、模糊测试或随机测试。这是一种随机测试,此测试中不使用任何测试用例。在 Monkey Testing 中,用户、测试人员或开发人员可以测试系统以确认它是否执行了所需的一组操作。
Adhoc 测试和 Monkey 测试的区别:
Adhoc Testing |
Monkey Testing |
Adhoc testing is random and does not rely on or use Test Cases. | Since, this is also random in nature, therefore test cases are not used in monkey testing. |
The purpose of the tester in adhoc testing is to crash the application or find a fault by using the application randomly. | Tests are randomly executed with random or invalid data to check for crashes or not in monkey testing. |
In Adhoc testing a group of testers tests whatever they think is required as per their knowledge of the application, | Here tester will not have much knowledge about the application, and they do not test in specific path. They test randomly by clicking on random objects and entering the random and invalid data to check id the application giver an error or nor. |
Adhoc testing is performed by the group of developers or testers who has good knowledge of the application. | Monkey testing can be performed by an individual who does not have a good knowledge of the application. |
In Adhoc Testing, sometimes resolving error based on identified issues is difficult as no written test cases and documents are there. | In monkey testing, tester performs tests randomly with random data reproducing defect is almost impossible. |
To make adhoc testing more accurate, testers needs good knowledge on product as well as testing concept to perfectly identified the issues in any model. | To make monkey testing more accurate, testers that are needed must have good technical knowledge of the domain. |
Adhoc testing, it does not provide any assurance that the error will be definitely identified. | The accuracy in monkey testing is very less, and it doesn’t always give the correct result. |
In Adhoc testing finding one error may take some uncertain period of time. | Monkey testing can go longer as there is no predefined tests and can find less number of bugs which may cause loopholes in the system. |