liquid-rust icon indicating copy to clipboard operation
liquid-rust copied to clipboard

Create Acid test for liquid compatibility

Open epage opened this issue 5 years ago • 1 comments

The liquid test suite has helped us identify a lot of gaps in our compatibility but it is very incomplete still.

Ideas

  • Create common input for liquid-rust and liquid-ruby and verify outputs
  • Easy to test variety of corner cases (e.g. nil, empty, and blank or unexpected data types)

epage avatar Mar 16 '20 16:03 epage

One tricky thing will be to separate implementation concepts, bugs in liquid-ruby, and bugs in liquid-rust.

For example {{ 5.size }} in the Ruby implementation returns how many bytes 5 takes up in-memory.

epage avatar Mar 16 '20 16:03 epage