openethereum/json-tests
2015-12-02 22:56:38 +01:00
..
json/trie *.json test files 2015-12-02 22:49:47 +01:00
src removed duplicate tests 2015-12-02 22:56:38 +01:00
Cargo.toml json-tests init 2015-12-02 21:50:33 +01:00
README.md json-tests init 2015-12-02 21:50:33 +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.

Test file should always contain a single file with input and output.

{
	input: ...,
	output: ...
}

As a reference, please use trietests.