请输入您要查询的百科知识:

 

词条 Orthogonal array testing
释义

  1. Background

      Orthogonal vector  

  2. Technique

  3. Benefits

  4. References

  5. External links

{{See also|Latin square}}

Orthogonal array testing is a black box testing technique that is a systematic, statistical way of software testing.[1][2] It is used when the number of inputs to the system is relatively small, but too large to allow for exhaustive testing of every possible input to the systems.[1] It is particularly effective in finding errors associated with faulty logic within computer software systems.[1] Orthogonal arrays can be applied in user interface testing, system testing, regression testing, configuration testing and performance testing.

The permutations of factor levels comprising a single treatment are so chosen that their responses are uncorrelated and therefore each treatment gives a unique piece of information. The net effects of organizing the experiment in such treatments is that the same piece of information is gathered in the minimum number of experiments.

Background

Orthogonal vector

Orthogonal vectors exhibit orthogonality. Orthogonal vectors exhibit the following properties:

  • Each of the vectors conveys information different from that of any other vector in the sequence, i.e., each vector conveys unique information therefore avoiding redundancy.
  • On a linear addition, the signals may be separated easily.
  • Each of the vectors is statistically independent of the others, i.e., the correlation between them is nil.
  • When linearly added, the resultant is the arithmetic sum of the individual components.

Technique

Consider a system which has three parameters {country; product; sales person} and each of them has three values. To test all the possible combinations of these parameters (i.e. exhaustive testing) we will need a set of 33 = 27 test cases. But instead of testing the system for each combination of parameters, we can use an orthogonal array to select only a subset of these combinations. Using orthogonal array testing, we can maximize the test coverage while minimizing the number of test cases to consider.[3] We here assume that the pair that maximizes interaction between the parameters will have more defects and that the technique works.[3]

Orthogonal array
Test case ↓CountryProductSalesperson
TC-1 DE Notebook Charlie
TC-2 DE Desktop Bob
TC-3 DE Mouse Alice
TC-4 US Notebook Bob
TC-5 US Desktop Alice
TC-6 US Mouse Charlie
TC-7 GB Notebook Alice
TC-8 GB Desktop Charlie
TC-9 GB Mouse Bob

Given that assumption, the table shows the set of nine combination of parameters which are sufficient to catch the fault, considering the interaction of the input parameters, which is very effective and economical. The array is orthogonal, because all possible pair-wise combinations between parameters occurs only once.[3]

The given L9 Orthogonal Array assess result of test cases as follows:[1]


Single-mode faults – Single mode faults occur only due to one parameter. For example, in above Orthogonal array if test cases TF-7, TF-8 and TF-9 show error, we can expect that value {Great Britain} of parameter {Country} is causing the error. Likewise we can detect as well as isolate the error.
Double-mode fault – Double mode fault is caused by the two specific parameters values interacting together. Such an interaction is a harmful interaction between interacting parameters.

Multimode faults – If more than two interacting components produce the consistent erroneous output, then it is a multimode fault. Orthogonal array detects the multimode faults.

Refer the following link for more details:

http://www.51testing.com/ddimg/uploadsoft/20090113/OATSEN.pdf

Benefits

  • Testing cycle time is reduced and analysis is simpler.
  • Test cases are balanced, so it's straightforward to isolate defects and assess performance. This provides a significant cost savings over pair-wise testing.

References

1. ^{{cite book |last=Pressman |first=Roger S |title=Software Engineering: A Practitioner's Approach |edition=6th |publisher=McGraw-Hill |year=2005 |isbn=0-07-285318-2}}
2. ^{{cite web |url=https://paportal.phadkeassociates.net/learning.aspx |title=Planning Efficient Software Tests |first=Madhav S |last=Phadke |publisher=Phadke Associates, Inc. |quote=Numerous articles on utilizing Orthogonal Arrays for Software and System Testing.}}
3. ^{{cite web|last=Dustin|first=Elfriede|title=Orthogonally Speaking|url=http://www.stickyminds.com/stickyfile.asp?i=3638556&j=94197&ext=.pdf}} {{subscription}}

External links

  • {{cite journal |last=Rao |first=Calyampudi Radhakrishna |year=2009 |title=Orthogonal arrays |journal=Scholarpedia |volume=4 |issue=7 |page=9076 |url=http://www.scholarpedia.org/article/Orthogonal_arrays |doi=10.4249/scholarpedia.9076}}
  • {{cite web |url=http://www.york.ac.uk/depts/maths/tables/orthogonal.htm |first=Gustav W |last=Delius |title=Orthogonal Arrays (Taguchi Designs) |date=May 2004 |publisher=University of York}}
  • {{cite web |url=http://support.sas.com/techsup/technote/ts723.html |title=Orthogonal Arrays |first=Warren F |last=Kuhfeld |publisher=SAS Institute Inc |quote=SAS provides a catalog of over 117,000 orthogonal arrays.}}
  • {{cite web |url=https://paportal.phadkeassociates.net/learning.aspx |title=Planning Efficient Software Tests |first=Madhav S |last=Phadke |publisher=Phadke Associates, Inc. |quote=Numerous articles on utilizing Orthogonal Arrays for Software and System Testing.}}
  • {{cite web |url=http://www.phadkeassociates.com/index_rdexperttestplanning.htm |title=rdExpert Software for Orthogonal Array Testing |publisher=Phadke Associates, Inc. |quote=Commercial toolset for Orthogonal Array Testing.}}

2 : Survival analysis|Design of experiments

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/13 11:34:41