C# 클래스 Xunit.PairwiseStrategy

PairwiseStrategy creates test cases by combining the parameter data so that all possible pairs of data items are used.

The number of test cases that cover all possible pairs of test function parameters values is significantly less than the number of test cases that cover all possible combination of test function parameters values. And because different studies show that most of software failures are caused by combination of no more than two parameters, pairwise testing can be an effective ways to test the system when it's impossible to test all combinations of parameters.

The PairwiseStrategy code is based on "jenny" tool by Bob Jenkins: http://burtleburtle.net/bob/math/jenny.html

파일 보기 프로젝트 열기: AArnott/Xunit.Combinatorial 1 사용 예제들

공개 메소드들

메소드 설명
GetTestCases ( int dimensions ) : List

Creates a set of test cases for specified dimensions.

비공개 메소드들

메소드 설명
IsTupleCovered ( this testCaseInfo, FeatureTuple tuple ) : bool

메소드 상세

GetTestCases() 공개 정적인 메소드

Creates a set of test cases for specified dimensions.
public static GetTestCases ( int dimensions ) : List
dimensions int /// An array which contains information about dimensions. Each element of /// this array represents a number of features in the specific dimension. ///
리턴 List