Class ExporterRequestBodyBuilder


  • public class ExporterRequestBodyBuilder
    extends java.lang.Object
    Builds JSON request bodies for test case submissions to the testomat.io service.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String buildRequestBody​(java.util.List<ExporterTestCase> exporterTestCases)
      Builds a JSON request body from a list of test cases.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExporterRequestBodyBuilder

        public ExporterRequestBodyBuilder()
    • 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