https://github.com/protolambda/eth2-api-testgen
Generate real example cases for Eth2 API client bindings
https://github.com/protolambda/eth2-api-testgen
Last synced: about 2 months ago
JSON representation
Generate real example cases for Eth2 API client bindings
- Host: GitHub
- URL: https://github.com/protolambda/eth2-api-testgen
- Owner: protolambda
- License: mit
- Created: 2020-12-02T01:05:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T01:56:55.000Z (over 4 years ago)
- Last Synced: 2025-02-09T02:13:59.856Z (3 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Eth2 api testgen
This package generates tests for API client bindings.
I.e. it does not focus on pure spec correctness,
but rather at enabling testing of the bindings with the latest server behavior.This consists of two checks:
- that inputs become the correct URL and POST body
- that the response code and body can be parsedHowever, API server implementations can still use this to compare their implementation against others.
Simply point this to your server implementation, and compare the generated results against an older version or completely different one.## License
MIT, see [`LICENSE`](./LICENSE) file.