Using YAML over JSON for fixtures in the future #603
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
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.
Uh oh!
There was an error while loading. Please reload this page.
-
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