Class ExportSender
- java.lang.Object
-
- io.testomat.junit.methodexporter.sender.ExportSender
-
public class ExportSender extends java.lang.ObjectHandles sending test case information to the Testomat.io API. This class builds HTTP requests containing test method bodies and metadata, then transmits them to the configured Testomat server endpoint with retry logic.
-
-
Constructor Summary
Constructors Constructor Description ExportSender()ExportSender(io.testomat.core.propertyconfig.interf.PropertyProvider provider)Constructor for testing
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsendTestCases(java.util.List<ExporterTestCase> exporterTestCases)Sends a list of test cases to the Testomat.io API.
-
-
-
Method Detail
-
sendTestCases
public void sendTestCases(java.util.List<ExporterTestCase> exporterTestCases)
Sends a list of test cases to the Testomat.io API. Builds the request payload and transmits it to the configured endpoint with retry logic for handling temporary failures.- Parameters:
exporterTestCases- the test cases to send to the API- Throws:
MethodExporterException- if the export request fails after all retries
-
-