desci-labs / desci-codex

Reference implementation of the CODEX protocol, using Ceramic and ComposeDB
8 stars 0 forks source link

Modelling test suite #12

Closed m0ar closed 1 year ago

m0ar commented 1 year ago

This PR adds a test suite that performs operations against a local ceramic test environment, ensuring that the models capture the use cases we need. This PR is a partial implementation of the test cases, a first batch :)

Resolves #10

m0ar commented 1 year ago

@hubsmoke I agree we should validate the state by querying the node again afterwards, but it's not super straightforward because the queries return nested relation data. I'm trying to make the queries a bit more generic, with that I'll add state assertions in the next test pass :ok_hand: