Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.1, 0.2, 0.3
Description
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!
Attachments
Attachments
Issue Links
- depends upon
-
THRIFT-503 "make check"-enabled C++ tests should be in lib/cpp/test
- Closed
-
THRIFT-960 add TestServer, TestNonblockingServer and TestClient again
- Closed
-
THRIFT-35 Move language tests into their appropriate library directory
- Closed
- incorporates
-
THRIFT-1065 Unexpected exceptions not proper handled on JS
- Closed
- is depended upon by
-
THRIFT-3102 could not make check for Go Library
- Closed
- is related to
-
THRIFT-819 add Enumeration for protocol, transport and server types
- Closed
- relates to
-
THRIFT-429 Make binary a full-fledged type of its own
- Closed
-
THRIFT-953 make check fails in TransportTest.cpp
- Closed
-
THRIFT-1745 Python JSON protocol
- Closed
-
THRIFT-1915 Multiplexing Services
- Closed