Modifier and Type | Method and Description |
---|---|
TestSource |
ApiTestCommand.Options.getTestSource(RequestTestDef testDef)
Returns the
TestSource defined by these options. |
Modifier and Type | Method and Description |
---|---|
static void |
TcasesOpenApiIO.writeRequestCases(RequestTestDef requestTestDef,
OutputStream outputStream)
Writes a
JSON document listing the given request test cases
to the given output stream. |
Modifier and Type | Method and Description |
---|---|
void |
MocoServerConfigWriter.write(RequestTestDef requestCases)
Writes the given system test definition the form of a JSON document.
|
Modifier and Type | Method and Description |
---|---|
RequestTestDef |
RequestTestDef.add(RequestCase requestCase)
Adds an API request test case.
|
static RequestTestDef |
RequestCases.getRequestCases(SystemTestDef testDef,
ResolverContext context)
Returns the request cases resolved for the given system test definition.
|
static RequestTestDef |
RequestCases.realizeRequestCases(RequestTestDef requestTestDef)
Reduces the given request test definition to those request cases that can be realized by an
executable test.
|
RequestTestDef |
RequestTestDef.remove(RequestCase requestCase)
Removes an API request test case.
|
Modifier and Type | Method and Description |
---|---|
static RequestTestDef |
RequestCases.realizeRequestCases(RequestTestDef requestTestDef)
Reduces the given request test definition to those request cases that can be realized by an
executable test.
|
Modifier and Type | Method and Description |
---|---|
RequestTestDef |
RequestTestDefReader.getRequestTestDef()
Returns a
RequestTestDef instance. |
Modifier and Type | Method and Description |
---|---|
static javax.json.JsonArray |
RequestCaseJson.toJson(RequestTestDef requestTestDef)
Returns the JSON array that represents the given request cases.
|
void |
RequestTestDefWriter.write(RequestTestDef requestTestDef)
Writes the given request cases in the form of a JSON document.
|
Modifier and Type | Method and Description |
---|---|
RequestTestDef |
TestSource.getTestDef()
Returns the request test definition for this source.
|
Modifier and Type | Method and Description |
---|---|
static TestSource.Builder |
TestSource.from(RequestTestDef testDef)
Returns a new
TestSource.Builder . |
Constructor and Description |
---|
TestSource(RequestTestDef testDef)
Creates a new TestSource instance.
|
Copyright © 2024 The Cornutum Project. All rights reserved.