serial-test-generators: Test your 'Aeson' 'Serialize' and 'Binary' instances for stability over time
When I am programming haskell I write a lot of
instance ToJSON ... where
instance FromJSON ... where
instance Binary ... where
These libraries are often associated with state.
So, I end up writing a lot of tests of the form ...
>>> expect (encode someTestAeson) toBe
"{"someSerializedThing":"expected encoding"}
so I have to write all these pieces down... but what I would really like is
>>> runAesonSerializeTest someTestAeson outputfile.txt
That is what these libraries do for Serialize, Binary and Aeson
They make very little assumption about what version of the library you are using.
Downloads
- serial-test-generators-0.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0, 0.1.1, 0.1.2, 0.1.3 |
---|---|
Dependencies | aeson, base (>=4 && <5), binary, bytestring (>=0.9.0), cereal [details] |
License | MIT |
Author | Scott <scottmurphy09@gmail.com> |
Maintainer | Scott <scottmurphy09@gmail.com> |
Category | Test |
Source repo | head: git clone https://github.com/smurphy8/serial-test-generators.git |
Uploaded | by scottmurphy09 at 2014-10-28T20:27:06Z |
Distributions | NixOS:0.1.3 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 3095 total (1 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2015-06-08 [all 1 reports] |