Create unittest fixture for SBE expression tests

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: 4.5 Desired
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2020-08-24
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      New expressions added to the SBE engine should come along with a unit test. To make unit testing of such expressions easier, we need to implement a base test fixture which would perform some basic set up and provide a helper method(s) to evaluate an expression and validate the results.

      The helper method should compile the given expression into a bytecode, set up the VM and the compilation context, execute the bytecode and return the result to the caller.

              Assignee:
              Justin Seyster
              Reporter:
              Anton Korshunov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: