public interface TestCaseWriter
Modifier and Type | Method and Description |
---|---|
default void |
prepareTestCases(List<RequestCase> requestCases)
Prepare this writer to handle the given request cases.
|
void |
writeClosing(String testName,
IndentedWriter targetWriter)
Writes the closing for target test cases to the given stream.
|
void |
writeDeclarations(String testName,
IndentedWriter targetWriter)
Writes the declarations for target test cases to the given stream.
|
void |
writeDependencies(String testName,
IndentedWriter targetWriter)
Writes the dependencies for target test cases to the given stream.
|
void |
writeTestCase(String testName,
URI testServer,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes a target test case to the given stream.
|
default void prepareTestCases(List<RequestCase> requestCases)
void writeDependencies(String testName, IndentedWriter targetWriter)
void writeDeclarations(String testName, IndentedWriter targetWriter)
void writeTestCase(String testName, URI testServer, RequestCase requestCase, IndentedWriter targetWriter)
testServer
supersedes
the URI for the API server defined by the requestCase
.void writeClosing(String testName, IndentedWriter targetWriter)
Copyright © 2024 The Cornutum Project. All rights reserved.