1
0
-1

TM Version 4.3.2 introduces Unit Testing for Services.   The Transact Services Guide shows how to test a dynamic service, but I can't figure out how to test a prefill service.  Can you please publish a knowledgebase article on this?

Also, I often use the output of a prefill service (which you could test directly and capture the output) as preview data for forms I'm developing.  With the new Unit Test feature, you can use the logger to output information, but I suspect there would be a limit to the amount of information that can be displayed.  Is this the case ?  Is there any other way to view  a large prefill ?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Answering my own question, I found that if you create a new prefill service by copying the example Groovy Form Prefill service, it creates an example unit test stub with the necessary code.

        CommentAdd your comment...