mirror of
https://github.com/NorfairKing/autodocodec.git
synced 2024-10-26 15:49:50 +03:00
describe the tests that we do
This commit is contained in:
parent
9fc8604407
commit
4dfb40d330
23
README.md
23
README.md
@ -32,11 +32,20 @@ This is not ready for production, it is not in use in any of my own projects yet
|
|||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
## Tests and guarantees
|
## Tests
|
||||||
|
|
||||||
* [Error messages are still good](TODO)
|
While we don't provide any actual guarantees, we do have tests for the following properties that we would like to maintain:
|
||||||
* [Encoding and decoding roundtrips](TODO)
|
|
||||||
* [Encoding and decoding is still fast](TODO)
|
* [Encoding and decoding roundtrips.](./autodocodec-api-usage/test/Autodocodec/AesonSpec.hs)
|
||||||
* [Generated Human-readible documentation looks good](TODO)
|
* [For standard types, encoding behaves in the same way that `aeson` does.](./autodocodec-api-usage/test/Autodocodec/AesonSpec.hs)
|
||||||
* [Genertaed values are accepted by the corresponding generated Machine-readible schemas](TODO)
|
* [Error messages for decoding are still good.](./autodocodec-api-usage/test/Autodocodec/AesonSpec.hs)
|
||||||
* [We try to make sure that backward compatibility is maintained](./autodocodec-api-usage/src/Autodocodec/Usage.hs)
|
* [Generated Human-readible documentation looks good.](./autodocodec-api-usage/test/Autodocodec/Yaml/DocumentSpec.hs)
|
||||||
|
* [Generated JSON schemas look good.](./autodocodec-api-usage/test/Autodocodec/Aeson/SchemaSpec.hs)
|
||||||
|
* [Generated Swagger schemas look good.](./autodocodec-api-usage/test/Autodocodec/SwaggerSpec.hs)
|
||||||
|
* [Generated OpenAPI schemas look good.](./autodocodec-api-usage/test/Autodocodec/OpenAPISpec.hs)
|
||||||
|
* [Generated values are accepted by the corresponding generated JSON schemas.](./autodocodec-api-usage/test/Autodocodec/Aeson/SchemaSpec.hs)
|
||||||
|
* [Generated values are accepted by the corresponding generated Swagger schemas.](./autodocodec-api-usage/test/Autodocodec/SwaggerSpec.hs)
|
||||||
|
* [Generated values are accepted by the corresponding generated OpenAPI schemas.](./autodocodec-api-usage/test/Autodocodec/OpenAPISpec.hs)
|
||||||
|
* [We try to make sure that backward compatibility is maintained.](./autodocodec-api-usage/src/Autodocodec/Usage.hs)
|
||||||
|
* [Codecs are more or less inspectable.](./autodocodec-api-usage/test/Autodocodec/ShowSpec.hs)
|
||||||
|
* [TODO: Encoding and decoding is still fast](TODO)
|
||||||
|
Loading…
Reference in New Issue
Block a user