fbp-protocol icon indicating copy to clipboard operation
fbp-protocol copied to clipboard

tests: use schemas to validate messages

Open chadrik opened this issue 9 years ago • 1 comments

The tests validate two aspects of messages sent from the runtime: their structure and their values. We should replace all the structural tests with validation against the schema files. This looks to be the most popular json-schema validator for node: https://www.npmjs.com/package/jsonschema

Requires #13

chadrik avatar May 24 '16 19:05 chadrik

@ifitzpatrick, is this resolved now?

chadrik avatar Jun 21 '16 05:06 chadrik