Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-2754

Figure out how to test non-symmetric translations

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Export to Language
    • None

    Description

      Right now our test suite expects all translations to be symmetric, but that's not always possible (especially as our generated code gets more idiomatic).

      For example, Code in javascript can accept a function or a string, but in shell it only accepts a string.

      Javascript --> Shell:

      Code(function(x){console.log(x)};) --> Code("function(x){console.log(x)};")
      

      Shell --> Javascript

      Code("function(x){console.log(x)};") --> Code("function(x){console.log(x)};")
      

      Attachments

        Activity

          People

            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: