openethereum/util/json-tests
Gav Wood 6ea8eaa3b5 Move ethcore files back into root. 2016-01-17 13:11:25 +01:00
..
json Move ethcore files back into root. 2016-01-17 13:11:25 +01:00
src Move ethcore files back into root. 2016-01-17 13:11:25 +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

README.md

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.