资 源 简 介
Apply pairwise testing technique to generate test cases and make it as a service.
The following demo shows how to use the library provided by this project to generate test cases.
```
import pairwisetesting.PairwiseTestingToolkit;
import pairwisetesting.coredomain.Factor;
import pairwisetesting.coredomain.IMetaParameterProvider;
import pairwisetesting.coredomain.MetaParameter;
import pairwisetesting.engine.am.AMEngine;
import pairwisetesting.testcasesgenerator.TXTTestCasesGenerator;
public class PairwisetestingDemo {
public static void main(String[] args) throws Exception {
PairwiseTestingToolkit toolkit = new PairwiseTestingToolkit();
toolkit.setMetaParameterProvider(new IMetaParameterProvider() {
public MetaParameter get() {
Factor f1 = new Factor("OS");
f1.addLevel("Windows XP");
f1.addLevel("Solaris 10");
f1.addLevel("Red Hat 9");
Fac