Commit graph

12 commits

Author SHA1 Message Date
kmaasrud
e3f39d4b88
feat: support escapes in attributes
Related issue: #1
2023-03-12 08:19:56 +01:00
Noah Hellman
119f59b349 test suite: skip rustfmt on generated modules
may not exist or have trailing newline
2023-02-12 00:59:18 +01:00
Noah Hellman
619c5ef048 test suite: add test skip/ignore/blacklist
some unit tests are not passing, ignore them for now in order to allow
testing for regressions for the currently passing tests.

run ignored tests with

cargo test --features suite -- --ignored
2023-02-12 00:59:18 +01:00
Noah Hellman
1221a003ba test suite: use md5 of input as test name
in order to keep same name, if order of test would change
2023-02-12 00:59:18 +01:00
Noah Hellman
38666a86f8 suite_bench: add bench input skip/ignore/blacklist
some benchmark input files have different output from reference
implementation, ignore them for now in order to allow testing for
regressions for the currently passing inputs.

run ignored tests with

cargo test --features=suite_bench -- --ignored
2023-02-12 00:59:18 +01:00
Noah Hellman
ff6f1554e2 test suite: use new render html api 2023-02-11 20:23:00 +01:00
kmaasrud
d7f2c0a819 implement Render trait for html::Renderer 2023-02-10 09:46:18 +01:00
Noah Hellman
768699d138 optionally use btree maps instead of hash maps
btree maps are deterministic which is useful for fuzzing. hash maps,
however have better performance in our case
2023-02-05 20:36:49 +01:00
Noah Hellman
28c2bfbe8c add afl fuzz target 2023-02-05 20:36:49 +01:00
Noah Hellman
08332bed5e test suite: add djot.js bench files as tests 2023-02-05 20:36:40 +01:00
Noah Hellman
6c630798f8 spec tests: filter out non-applicable test files 2023-02-05 20:36:40 +01:00
Noah Hellman
8c0abca85f add spec tests 2023-02-05 20:36:38 +01:00