Sidebar

Built in testing of HL7 to HL7 out using static example

0 votes
351 views
asked Nov 2, 2015 by (600 points)
Hello!,

  So I know how to do unit testing scripts IF I create a new channel that add's a new inbound (dummy) message, but how can I build unit testing into my all coded up channel?,

  For example I have a simple A01 in that get's transformed to a new A01.  I have a static inbound A01 and "expected" outbound A01, how can I add a "test" function that I can run on all the transforms to confirm this incoming A01 always ends up as my expected A01?  So if someone amends transforms in the middle for something new this particular A01-A01 still works with the expected results?

1 Answer

0 votes
You can't "as" such, most people output to file and then "diff", but having a compare Test Message A to Test Message B function is going to be added as an enhancement request.
answered Nov 3, 2015 by (600 points)
...