[COMPASS-2754] Figure out how to test non-symmetric translations Created: 17/Apr/18  Updated: 20/Apr/18  Resolved: 20/Apr/18

Status: Closed
Project: Compass
Component/s: Export to Language
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Anna Herlihy (Inactive) Assignee: Anna Herlihy (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-2309
Story Points: 3
Sprint: Sprint Q-Tip

 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)};")


Generated at Wed Feb 07 22:30:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.