openethereum/json-tests/README.md

16 lines
361 B
Markdown
Raw Normal View History

2015-12-02 21:49:57 +01:00
# How to write json test file?
Cause it's very hard to write generic json test files, each subdirectory should follow its own
convention. BUT all json files `within` same directory should be consistent.
2015-12-02 23:29:22 +01:00
### Test files should always contain a single test with input and output.
2015-12-02 21:49:57 +01:00
```json
{
input: ...,
output: ...
}
```
As a reference, please use trietests.