Using YAML over JSON for fixtures in the future #603
spencer-tb
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
I was thinking about this But didn't like the idea as the test becomes not self complete. So you might end up having the file, but missing the includes, and versioning hashes become meaningless. The main adventage of yaml are multiline fields for comments and code. And hashtag comments. The yaml test implementation would affect all test clients and their tools, we gotta ask what they think. In the current model human readable are the test src files (json yaml py) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been considering that we use yaml for our fixtures instead of json more and more over the past few weeks.
Some other advantages:
---
. This means we could have 1 file per fork with all the fixtures etc if we wanted to. Or compact fork release files that reference each test file using the above method.Main disadvantages:
Beta Was this translation helpful? Give feedback.
All reactions