thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-847) Test Framework harmonization across all languages
Date Sun, 04 Nov 2012 21:48:13 GMT

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

Hudson commented on THRIFT-847:
-------------------------------

Integrated in Thrift #580 (See [https://builds.apache.org/job/Thrift/580/])
    THRIFT-847 Test Framework harmonization across all languages
add NODE_PATH
remove Unix Domain Socket used by tests (Revision 1404889)
THRIFT-1745 Python JSON protocol 
TJSONProtocol.py: Frederic Delbos

THRIFT-847 Test Framework harmonization across all languages 
Integration into py lib and test suite (Revision 1404838)

     Result = FAILURE
roger : http://svn.apache.org/viewvc/?view=rev&rev=1404889
Files : 
* /thrift/trunk/test/nodejs/Makefile.am
* /thrift/trunk/test/test.sh

roger : http://svn.apache.org/viewvc/?view=rev&rev=1404838
Files : 
* /thrift/trunk/lib/py/src/protocol/TJSONProtocol.py
* /thrift/trunk/lib/py/src/protocol/__init__.py
* /thrift/trunk/test/py/RunClientServer.py
* /thrift/trunk/test/py/TestClient.py
* /thrift/trunk/test/py/TestServer.py
* /thrift/trunk/test/test.sh

                
> Test Framework harmonization across all languages
> -------------------------------------------------
>
>                 Key: THRIFT-847
>                 URL: https://issues.apache.org/jira/browse/THRIFT-847
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C# - Library, C++ - Library, Cocoa - Library, Erlang - Library,
Haskell - Library, Java - Library, JavaScript - Library, OCaml - Library, Perl - Library,
PHP - Library, Python - Library, Ruby - Library, Test Suite
>    Affects Versions: 0.1, 0.2, 0.3
>            Reporter: Roger Meier
>            Assignee: Roger Meier
>              Labels: gsoc2011, mentor
>             Fix For: 1.0
>
>         Attachments: build.xml, test.sh, v1-WORK_IN_PROGRESS-unified_tests.tar.gz
>
>
> Today each Language supported by Thrift, have its own unit test, all are using the same
Thrift IDL's located at the test directory. But the behavior of these tests seems to be different
from language to language... this makes it difficult to do tests and bug fixing across different
Languages. e.g.
> * C++ Test and JavaScript Test Server written in Java have different responses for the
same services
> * C# and Java Test Server have different responses for testException as C++
> I propose the following steps:
> * identify the language with the reference implementation (well defined return values
for all test cases) 
> * update the ThriftTest.thrift with details about the required return values that have
to be implemented
> * update test implementations and move language tests into their appropriate library
directory (THRIFT-35)
> * a public test server that supports multiple protocols and transports could be another
enhancement for testing purposes
> I'm ready to help preparing patches, just tell me what you need!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message