hermes
hermes copied to clipboard
Use structs to convert JSON outputs in the test framework
Proposal
In Hermes test framework it is sometimes required to parse JSON output of CLIs.
As suggested in this comment, https://github.com/informalsystems/hermes/pull/3694#discussion_r1395448432, the test framework should use struct that match the expected output and which derive Deserialize
.
This will allow converting the JSON output in the expected struct to have a cleaner test framework
For Admin Use
- [ ] Not duplicate issue
- [ ] Appropriate labels applied
- [ ] Appropriate milestone (priority) applied
- [ ] Appropriate contributors tagged
- [ ] Contributor assigned/self-assigned