clio
clio copied to clipboard
Create canonical tests
Canonical tests are functional tests starting application on a small test dataset, sending a set of request to the application and checking responses with canonical data. It is useful to check that application response is changed only when it is desired. Python library to create canonical tests: https://pypi.org/project/pytest-canonical-data/
Reopening this as we decided it would be useful to create snapshot tests - tests with a minimal snapshot of database, real or fake rippled. Tests should have a list of requests and a list of canonical responses from Clio. Probably we will write it in go using testcontainers.