Package io.testomat.junit.methodexporter
Class ExporterRequestBodyBuilder
- java.lang.Object
-
- io.testomat.junit.methodexporter.ExporterRequestBodyBuilder
-
public class ExporterRequestBodyBuilder extends java.lang.ObjectBuilds JSON request bodies for test case submissions to the testomat.io service.
-
-
Constructor Summary
Constructors Constructor Description ExporterRequestBodyBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringbuildRequestBody(java.util.List<ExporterTestCase> exporterTestCases)Builds a JSON request body from a list of test cases.
-
-
-
Method Detail
-
buildRequestBody
public java.lang.String buildRequestBody(java.util.List<ExporterTestCase> exporterTestCases)
Builds a JSON request body from a list of test cases.- Parameters:
exporterTestCases- the test cases to include in the request- Returns:
- JSON string representing the request body
-
-