UNPKG

edifact_orders_iso_16033

Version:

parser for EDIFACT ORDERS ISO 16033 Ophthalmic optics and instruments

47 lines 4.24 kB
<?xml version="1.0" encoding="UTF-8"?> <testsuites name="Mocha Tests" time="0.0290" tests="19" failures="0"> <testsuite name="Root Suite" timestamp="2021-01-28T16:50:42" tests="0" time="0.0000" failures="0"> </testsuite> <testsuite name="Edi helpers" timestamp="2021-01-28T16:50:42" tests="6" file="/builds/marc9nicole/edifact_orders_iso_16033/test/edi.spec.js" time="0.0020" failures="0"> <testcase name="Edi helpers should convert date 20181001" time="0.0010" classname="should convert date 20181001"> </testcase> <testcase name="Edi helpers should be able to convert an Element [date,time]" time="0.0000" classname="should be able to convert an Element [date,time]"> </testcase> <testcase name="Edi helpers should be able to convert a YYYYMMDDHHMM to a datetime string" time="0.0000" classname="should be able to convert a YYYYMMDDHHMM to a datetime string"> </testcase> <testcase name="Edi helpers should escape special chars" time="0.0000" classname="should escape special chars"> </testcase> <testcase name="Edi helpers should write segment properly" time="0.0010" classname="should write segment properly"> </testcase> <testcase name="Edi helpers should compact an edifact string that has leading and trailing space and linefeed for readability" time="0.0000" classname="should compact an edifact string that has leading and trailing space and linefeed for readability"> </testcase> </testsuite> <testsuite name="test Orders for contacto" timestamp="2021-01-28T16:50:42" tests="13" file="/builds/marc9nicole/edifact_orders_iso_16033/test/orders.spec.js" time="0.0270" failures="0"> <testcase name="test Orders for contacto should be able to interpret UNB segment" time="0.0030" classname="should be able to interpret UNB segment"> </testcase> <testcase name="test Orders for contacto should reject segment that do not respect the norm" time="0.0040" classname="should reject segment that do not respect the norm"> </testcase> <testcase name="test Orders for contacto should be able to escape chars" time="0.0010" classname="should be able to escape chars"> </testcase> <testcase name="test Orders for contacto should interpret NAD segments" time="0.0010" classname="should interpret NAD segments"> </testcase> <testcase name="test Orders for contacto should be able to read order lines" time="0.0030" classname="should be able to read order lines"> </testcase> <testcase name="test Orders for contacto should read an example where the products must be delivered directly to the end user" time="0.0040" classname="should read an example where the products must be delivered directly to the end user"> </testcase> <testcase name="test Orders for contacto should be able to read an example where the delivery is done to the shop and not directly to the end user" time="0.0050" classname="should be able to read an example where the delivery is done to the shop and not directly to the end user"> </testcase> <testcase name="test Orders for contacto should handle properly multiple COM segment by attaching communication contact to the current CTA of the current NAD" time="0.0020" classname="should handle properly multiple COM segment by attaching communication contact to the current CTA of the current NAD"> </testcase> <testcase name="test Orders for contacto should handle properly multiple ORDERS messages" time="0.0020" classname="should handle properly multiple ORDERS messages"> </testcase> <testcase name="test Orders for contacto should be able to detect test messages" time="0.0010" classname="should be able to detect test messages"> </testcase> <testcase name="test Orders for contacto should not crash, but report that UNA is badly written" time="0.0000" classname="should not crash, but report that UNA is badly written"> </testcase> <testcase name="test Orders for contacto should expose every detail of LIN and correct #4" time="0.0010" classname="should expose every detail of LIN and correct #4"> </testcase> <testcase name="test Orders for contacto should correct #4" time="0.0000" classname="should correct #4"> </testcase> </testsuite> </testsuites>