haskell-hvr / HsYAML-aeson

JSON to YAML Adapter
http://hackage.haskell.org/package/HsYAML-aeson
GNU General Public License v2.0
9 stars 8 forks source link

Automated tests #16

Open sjakobi opened 2 years ago

sjakobi commented 2 years ago

This package currently has no test-suite. It would be nice to have one so we realize when things break.

sjakobi commented 2 years ago

Since IIRC JSON is a subset of YAML-1.2, maybe we can test that the conversion JSON -> YAML -> JSON roundtrips.

I was also wondering whether the yaml-test executable needs tests of its own: I suspect not, because it's a very thin wrapper around the decodeValue and encodeValue functions.