[jira] [Commented] (OFBIZ-11553) Convert InvoicePerShipmentTests.xml to Groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11553) Convert InvoicePerShipmentTests.xml to Groovy

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-11553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17146932#comment-17146932 ]

ASF subversion and git services commented on OFBIZ-11553:
---------------------------------------------------------

Commit 0f9307c0711fff7b8aef5c795918c21b0b9243d8 in ofbiz-framework's branch refs/heads/trunk from Priya Sharma
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=0f9307c ]

Improved: Convert InvoicePerShipmentTests.xml tests to groovy (OFBIZ-11553) (#208)

* Improved: Convert InvoicePerShipmentTests.xml tests to groovy (OFBIZ-11553)
Done following:
- converted all xml test implementation to groovy
- used MockHttpServletRequest MockHttpServletResponse objects for triggering the events
- removed the xml version of the test implementations
- updated the test service mapping in the invoicetests.xml
(OFBIZ-11553)

* Improved: Moved the common code into a method so as to avoid duplication of code.
- passed in two parameters i.e. product id and the invoicePerShipment flag, to be used as per the need of the testcase.
(OFBIz-11553)

* Improved: Added support to get access to the Debug log methods in the groovy tests. (OFBIZ-11553)
- Also updated the references in the InvoicePerShipment tests.

Co-authored-by: Priya Sharma <[hidden email]>

> Convert  InvoicePerShipmentTests.xml to Groovy
> ----------------------------------------------
>
>                 Key: OFBIZ-11553
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11553
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: Trunk
>            Reporter: Rohit Hukkeri
>            Assignee: Priya Sharma
>            Priority: Minor
>
> Convert InvoicePerShipmentTests.xml to Groovy



--
This message was sent by Atlassian Jira
(v8.3.4#803005)