Package | Description |
---|---|
org.cornutum.tcases | |
org.cornutum.tcases.generator | |
org.cornutum.tcases.generator.io |
Modifier and Type | Method and Description |
---|---|
static Optional<ITestCaseGenerator> |
Reducer.reduce(FunctionInputDef inputDef)
For a
function input definition , returns a test case generator
that reduces
the number of test cases normally generated, using default options . |
static Optional<ITestCaseGenerator> |
Reducer.reduce(FunctionInputDef inputDef,
ITestCaseGenerator generator,
FunctionTestDef baseDef,
ReducerOptions options)
For a
function input definition , updates the given test case generator
to reduce the number of generated test cases, using the given options . |
Modifier and Type | Method and Description |
---|---|
static FunctionTestDef |
Tcases.getTests(FunctionInputDef functionDef,
ITestCaseGenerator functionGen,
FunctionTestDef functionBase)
Returns test case definitions for the given function input definition, using the given test case generator and
base test definitions.
|
static FunctionTestDef |
Tcases.getTests(FunctionInputDef functionDef,
ITestCaseGenerator functionGen,
TestCaseResolverFactory resolverFactory,
FunctionTestDef functionBase,
GeneratorOptions options)
Returns test case definitions for the given function input definition, using the given test case generator,
resolvers, and base test definitions.
|
static Optional<ITestCaseGenerator> |
Reducer.reduce(FunctionInputDef inputDef,
ITestCaseGenerator generator,
FunctionTestDef baseDef,
ReducerOptions options)
For a
function input definition , updates the given test case generator
to reduce the number of generated test cases, using the given options . |
Modifier and Type | Class and Description |
---|---|
class |
TupleGenerator
Generates
test cases for a function that use
all specified N-tuples of valid variable values. |
Modifier and Type | Method and Description |
---|---|
ITestCaseGenerator |
TupleGenerator.cloneOf()
Returns a copy of this object.
|
ITestCaseGenerator |
IGeneratorSet.getGenerator(String functionName)
Returns the test case generator for the given system function.
|
ITestCaseGenerator |
GeneratorSet.getGenerator(String functionName)
Returns the test case generator for the given system function.
|
Modifier and Type | Method and Description |
---|---|
Iterator<ITestCaseGenerator> |
IGeneratorSet.getGenerators()
Returns all test case generators in this set.
|
Iterator<ITestCaseGenerator> |
GeneratorSet.getGenerators()
Returns all test case generators in this set.
|
Modifier and Type | Method and Description |
---|---|
void |
GeneratorSet.addGenerator(String functionName,
ITestCaseGenerator generator)
Adds a new test case generator for the given system function.
|
GeneratorSetBuilder |
GeneratorSetBuilder.defaultGenerator(ITestCaseGenerator generator)
Adds a default generator to this set.
|
GeneratorSetBuilder |
GeneratorSetBuilder.generator(String functionName,
ITestCaseGenerator generator)
Adds a generator to this set for the given function.
|
void |
GeneratorSet.setGenerator(String functionName,
ITestCaseGenerator generator)
Changes the test case generator for the given system function.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GeneratorSetDocWriter.writeGenerator(String function,
ITestCaseGenerator generator)
Writes the given generator definition.
|
Copyright © 2024 The Cornutum Project. All rights reserved.