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

David E. Jones commented on OFBIZ-1468:
---------------------------------------

Some general tips:

1. As a generality we want as much as possible of this written in 
simple-methods; that may be difficult for the sales and purchase order ones 
because of the cart interactions, but for this and others that basically just 
do service calls and such they should definitely be in simple-methods; note 
that with the test tools you can call a simple-method directly and it doesn't 
have to be wrapped in a service

2. to test results a nice tool is to use an XML data file like the ones we use 
for imports, but use for assertions instead; there are various examples of this 
in OFBiz, some good ones in the framework/service component (more specifically 
in the service/testdef/data directory)

In general these look good though and will be very helpful to do regression 
testing and sanity checks as we go forward.

>  JUNIT test case for party communication
> ----------------------------------------
>
>                 Key: OFBIZ-1468
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1468
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: workeffort
>    Affects Versions: SVN trunk
>            Reporter: Vikas Mayur
>            Assignee: Marco Risaliti
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: party_communication.patch
>
>
> Followed the process from link 
> http://docs.ofbiz.org/display/OFBENDUSER/Party+%28Customer%29+Communication

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to