cardano-graphql icon indicating copy to clipboard operation
cardano-graphql copied to clipboard

Test/network agnostic tests

Open iadmytro opened this issue 2 years ago • 1 comments

Context

Having dependency on particular testnet making regression suite very fragile and require substantial amount of work to switch to another testnet

Proposed Solution

Make regression suite network agnostic by querying db for suitable data for each test.

Important Changes Introduced

Network agnostic tests is a tradeoff, asserts performed by these tests not so rigorous as matching hardcoded snapshot.

iadmytro avatar Feb 10 '23 09:02 iadmytro

Hoisting of getTestData addressed in b8bd71d

iadmytro avatar Feb 14 '23 12:02 iadmytro