openethereum/util/json-tests
2016-02-05 13:40:41 +01:00
..
json Move ethcore files back into root. 2016-01-17 13:11:25 +01:00
src added license in every *.rs file 2016-02-05 13:40:41 +01:00
Cargo.toml Move ethcore files back into root. 2016-01-17 13:11:25 +01:00
README.md Move ethcore files back into root. 2016-01-17 13:11:25 +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 files should always contain a single test with input and output.

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

As a reference, please use trietests.