[hacspec] test vectors

Franziskus Kiefer franziskuskiefer at gmail.com
Sun Feb 11 10:40:07 PST 2018


Hi all,

to make test vectors easier to use hacspec should also specify a common way
of writing them.
What we currently have is JSON with string and int data values.
Every primitive gets a schema schema that defines how test vectors have to
look.
There are two ways of validating test vectors, mypy and jsonschema.

I would like to get feedback especially on the following points.

* Is JSON the right format to use here or do you think there are better
formats?
* Do we want strict validation with jsonschema or do we only care about
types? (see [1] for details)
* Are integers and strings the right types or do we need more/less?

Cheers,
Franziskus

[1]
https://github.com/HACS-workshop/hacspec/blob/master/LANGUAGE.md#test-vectors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://moderncrypto.org/mail-archive/hacspec/attachments/20180211/50a2152d/attachment.html>


More information about the Hacspec mailing list