Package | Description |
---|---|
org.cornutum.tcases | |
org.cornutum.tcases.io | |
org.cornutum.tcases.openapi.resolver | |
org.cornutum.tcases.resolve |
Modifier and Type | Method and Description |
---|---|
TestCase |
TestCase.addVarBinding(VarBinding varBinding)
Adds a new variable binding.
|
TestCase |
TestCaseBuilder.build()
Returns the current test case.
|
TestCase |
FunctionTestDef.getTestCase(int id)
Returns the test case with the given id.
|
TestCase |
TestCase.removeVarBinding(String name)
Removes the binding for the given variable.
|
Modifier and Type | Method and Description |
---|---|
Iterator<TestCase> |
FunctionTestDef.getTestCases()
Returns the test cases for this function.
|
Modifier and Type | Method and Description |
---|---|
FunctionTestDef |
FunctionTestDef.addTestCase(TestCase testCase)
Adds a new test case.
|
int |
TestCase.compareTo(TestCase other) |
TestCaseBuilder |
TestCaseBuilder.start(TestCase testCase)
Starts building a new test case.
|
FunctionTestDefBuilder |
FunctionTestDefBuilder.testCases(TestCase... testCases)
Adds function test cases.
|
static TestCaseBuilder |
TestCaseBuilder.with(TestCase testCase)
Creates a new builder for the given TestCase.
|
Modifier and Type | Method and Description |
---|---|
FunctionTestDefBuilder |
FunctionTestDefBuilder.testCases(Iterable<TestCase> testCases)
Adds function test cases.
|
FunctionTestDefBuilder |
FunctionTestDefBuilder.testCases(Stream<TestCase> testCases)
Adds function test cases.
|
Constructor and Description |
---|
TestCaseBuilder(TestCase testCase)
Creates a new TestCaseBuilder object.
|
Modifier and Type | Method and Description |
---|---|
TestCase |
SystemTestDocReader.TestCaseHandler.getTestCase()
Returns the
TestCase represented by this element. |
Modifier and Type | Method and Description |
---|---|
protected void |
SystemTestHtmlWriter.writeInputs(TestCase testCase,
String type)
Writes the input value definitions for all variables of the given type.
|
protected void |
SystemTestDocWriter.writeInputs(TestCase testCase,
String type)
Writes the input value definitions for all variables of the given type.
|
protected void |
SystemTestDocWriter.writeTestCase(TestCase testCase)
Writes the given test case definition.
|
Modifier and Type | Method and Description |
---|---|
RequestCaseDef |
RequestCaseDefiner.toRequestCaseDef(TestCase testCase)
Converts a generic
TestCase for an API request into a RequestCaseDef that can be used
to resolve this abstract test case into an executable form . |
Modifier and Type | Method and Description |
---|---|
List<TestCase> |
TestCaseResolver.resolve(Function<FunctionInputDef,List<ITestCaseDef>> testCaseDefSupplier)
Resolves the
test case definitions to create new TestCase instances for the given input model. |
Copyright © 2024 The Cornutum Project. All rights reserved.