Avro
  1. Avro
  2. AVRO-507

Document how to implement interop tests for a new language

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: doc
    • Labels:
      None

      Description

      From recent experience and communication, getting interop testing to work is a bit of a dark art. We should have documentation, either in the Avro source tree or on the Avro wiki, to help guide future language implementers.

        Activity

        Hide
        Jeff Hammerbacher added a comment -

        For example, here is an excerpt from an email I sent to someone working on a C# implementation to help him get the serialization interop tests working (where most implementers will start):

        The schema used for testing across languages is in share/test/schemas/interop.avsc. You'll need to add some entries to the top-level build.sh script to generate interop data for reading by other languages and to read the interop data generated by other languages. See, for example, "gen_interop_data.py" and "test_datafile_interop.py" in lang/test/py for how I do things in Python.

        Show
        Jeff Hammerbacher added a comment - For example, here is an excerpt from an email I sent to someone working on a C# implementation to help him get the serialization interop tests working (where most implementers will start): The schema used for testing across languages is in share/test/schemas/interop.avsc. You'll need to add some entries to the top-level build.sh script to generate interop data for reading by other languages and to read the interop data generated by other languages. See, for example, "gen_interop_data.py" and "test_datafile_interop.py" in lang/test/py for how I do things in Python.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jeff Hammerbacher
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development