Skip to content

Ruby Test Equivalence

Cole Fichter edited this page Oct 19, 2015 · 3 revisions

The way we confirm that Shopify Liquid filters and Liquid.NET filters work the same way is:

  1. modify the file https://github.com/mikebridge/Liquid.NET/blob/master/Liquid.Ruby/tests/filters.txt with the Liquid that we want to test
  2. type rake gen:filters from within the Liquid.Ruby directory to regenerate the C# tests from Ruby output
  3. recompile and run the test file Liquid.NET.Tests.Ruby.FilterTests.cs.

There are other files to test other aspects of Liquid.

Clone this wiki locally