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

Jens Geyer commented on THRIFT-3100:
------------------------------------

The best placve to start is with what can be found under the 
{{/test/<language>}} folders. This is the standard Thrift integration test 
suite mentioned above. 

This test suite uses the {{ThriftTest.thrift}} IDL file and a standardized set 
of operations that the test client runs against the test server. It is designed 
this way to make it easy to test various combinations of clients and servers 
agaist each other, mainly to ensure interoperability between languages, but it 
is also useful to detect certain kinds of implementation errors. A good idea is 
to use one of the existing test implementations as a model.

A question that often raises is where to place language specific tests. The 
general rule is that only the Thrift integration test suite belongs under 
{{/test/cocoa}}, any other tests should be placed within the {{lib/cocoa}} 
folder. Typically this would be {{lib/cocoa/test}}. In that latter folder you 
can basically do anything you want, while the {{/test/cocoa}} test suite has to 
follow the set guidelines for the integration test suite, including the [return 
codes and switches documented here|https://thrift.apache.org/test/].



> Implement standard Thrift test for Cocoa
> ----------------------------------------
>
>                 Key: THRIFT-3100
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3100
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Cocoa - Library
>            Reporter: Jens Geyer
>
> More than comments (THRIFT-281) we need at least an implementation of the 
> standard Thrift test for Cocoa. Right now we do not have any tests at all for 
> that client.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to