duster/js/permanently_disabled_test_cases/README.md

1001 B

This folder is for test cases that are NEVER expected to work on duster but I've written to investigate the behavior of original dust. Examples of this are:

Custom javascript dust helpers

Inside the shim I wrote a very basic custom dust helper to investigate the chunk, context, bodies, and params parameters so that I can theoretically expose a similar interface for custom rust dust helpers. Since I won't be perfectly replicating those objects, duster would never output a byte-for-byte identical output for that helper.

Javascript context helpers

I do not intend to integrate a javascript engine into duster, so context helpers written as javascript inside the json context will not work on duster. I believe, based on my interface-based approach, I'll be able to support runtime functions written in rust and stored in rust objects (not from JSON) to serve the same functionality as context helpers but that still remains to be seen.