v2: add cmds for toml-test integration #599
moorereason
started this conversation in
Ideas
Replies: 1 comment 7 replies
-
We used to have a binary to be compatible with with toml-test. However I replaced it with a program that generates Go test files for those: #264. I still like its approach for portable testing. Maybe we should re-gen the tests periodically so that we can catch new stuff? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be useful to pass the tests in the toml-test project. We need a cmds similar to toml-test-decoder and toml-test-encoder.
I hacked up a partial implementation using some of the BurntSushi json tagging code. It works with the exception of datetime json tagging. With my tests, v2 decoder results: 237 passed, 47 failed (but 3 of the failures are related to json tagging issues in the integration).
Beta Was this translation helpful? Give feedback.
All reactions