You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/11/05 05:49:00 UTC

[jira] [Commented] (THRIFT-847) Test Framework harmonization across all languages

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

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

SUCCESS: Integrated in Thrift #1331 (See [https://builds.apache.org/job/Thrift/1331/])
THRIFT-847 Test Framework harmonization across all languages (roger: rev bea273484d63e5c14481754da9ff786b12835471)
* test/test.sh
THRIFT-847 Test Framework harmonization across all languages (roger: rev dace6937a7c1f53c45c005f0d5d6e2851b656da6)
* test/tests.json
THRIFT-847 Test Framework harmonization across all languages (roger: rev d92179129a5674784da7248f09bd41d32bb762bc)
* test/test.sh
* test/hs/TestClient.hs
* test/hs/TestServer.hs
* contrib/installDependencies.sh
* lib/hs/Thrift.cabal
THRIFT-847 Test Framework harmonization across all languages (roger: rev 7191bc99fe3de1027f7fab21232d5bc6ed1d5db5)
* test/hs/TestClient.hs
* test/hs/TestServer.hs
THRIFT-847 Test Framework harmonization across all languages (roger: rev e26db2fcf2f7853aaa076f7e299dcdb433029cd1)
* lib/hs/Thrift.cabal


> 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: gsoc2014, mentor
>         Attachments: 0001-THRIFT-847-Test-Framework-harmonization-across-all-l.patch, 0001-THRIFT-847-Test-Framework-harmonization-across-all-l.patch, 0001-THRIFT-847-Test-Framework-harmonization-across-all-l.patch, 0001-THRIFT-847-Test-Framework-harmonization-across-all-l.patch, 0001-THRIFT-847-Test-Framework-harmonization-across-all-l.patch, 0001-THRIFT-847-Test-Framework-harmonization-across-all-l.patch, THRIFT-847_add__make_cross__build_target.patch, 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 was sent by Atlassian JIRA
(v6.3.4#6332)