• 我们说您必须测试的东西,涉及许多不同的变量。 配置的测试就是这样:不同的打印机、不同的印刷选项,不同的文件。 谁知道什么组合将会失败吗?

    但是你不能尝试的所有组合的所有变量在一起,因为那将太多的试验。 因此,不是,您可以创建的测试,即对每一个值的每个变量与每个值的每个其他变量至少一次。

    Allpairs应用程序的开发是一个小的工具,找到一个合理的小组测试情况,以满足,复盖率标准。 例如,尝试了所有组合的10个变量与十值中的每一个需要10,000,000,000的测试案例。 Allpairs只需要177的情况。 Allpairs是一个命令行的可执行基于Perl脚本。 来源包括在内。

  • चलो कहते हैं कि आप परीक्षण करना चाहिए कुछ है कि एक बहुत कुछ शामिल है के अलग-अलग चर है । विन्यास परीक्षण की तरह है: अलग अलग प्रिंटर, विभिन्न प्रिंट विकल्प, विभिन्न दस्तावेजों. कौन जानता है कि क्या संयोजन विफल हो जाएगा?

    लेकिन आप नहीं कर सकते हैं के सभी संयोजनों की कोशिश सभी चर, क्योंकि एक साथ हो जाएगा कि बहुत सारे परीक्षणों में से एक । तो बजाय, आप बना सकता है परीक्षण है कि प्रत्येक जोड़ी में से प्रत्येक के मूल्य चर के साथ प्रत्येक का मूल्य एक-दूसरे चर कम से कम एक बार.

    के Allpairs आवेदन विकसित किया गया था होना करने के लिए एक छोटा सा उपकरण है कि एक यथोचित छोटे से सेट के परीक्षण के मामलों को संतुष्ट करने के लिए है कि कवरेज के मानक. उदाहरण के लिए, की कोशिश करने के लिए सभी संयोजनों के 10 चर के साथ दस मूल्यों में से प्रत्येक की आवश्यकता होगी 10,000,000,000 परीक्षण के मामलों में. Allpairs केवल की आवश्यकता है 177 मामलों. Allpairs है एक आदेश-पंक्ति निष्पादन योग्य के आधार पर एक Perl स्क्रिप्ट है । स्रोत शामिल है ।

  • Let's say you must test something that involves a lot of different variables. Configuration testing is like that: different printers, different print options, different documents. Who knows what combination will fail?

    But you can't try all combinations of all variables together, because that would be too many tests. So instead, you could create tests that pair each value of each of the variables with each value of each other variable at least once.

    The Allpairs application was developed to be a small tool that finds a reasonably small set of test cases to satisfy that coverage standard. For instance, to try all combinations of 10 variables with ten values each would require 10,000,000,000 test cases. Allpairs only requires 177 cases. Allpairs is a command-line executable based on a Perl script. Source is included.