clio icon indicating copy to clipboard operation
clio copied to clipboard

Create canonical tests

Open kuznetsss opened this issue 2 years ago • 1 comments

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/

kuznetsss avatar Oct 25 '23 13:10 kuznetsss

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.

kuznetsss avatar Jul 09 '24 16:07 kuznetsss