![JAR search and dependency download from the Maven repository](/logo.png)
com.github.dakusui.jcunit8.testsuite.TestCase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcunit Show documentation
Show all versions of jcunit Show documentation
Automated combinatorial testing framework on top of JUnit
package com.github.dakusui.jcunit8.testsuite;
import com.github.dakusui.jcunit.core.tuples.Tuple;
import com.github.dakusui.jcunit8.factorspace.Constraint;
import java.util.List;
public interface TestCase {
enum Category {
SEED,
REGULAR,
NEGATIVE;
TestCase createTestCase(Tuple test, List violatedConstraints) {
return new TestCase() {
@Override
public Tuple get() {
return test;
}
@Override
public Category getCategory() {
return Category.this;
}
@Override
public List violatedConstraints() {
return violatedConstraints;
}
@Override
public String toString() {
return String.format("%s:%s:%s", this.getCategory(), this.get(), violatedConstraints);
}
};
}
}
Tuple get();
Category getCategory();
List violatedConstraints();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy