Replies: 3 comments
-
Recall from Smart Wallet Dapp Architecture that clients interact with the chain in 2 main ways: Clients can't directly make calls such as By way of example, see tests for agoric-sdk/packages/vats/test/bootstrapTests/test-vaults-integration.js Lines 86 to 105 in ba3b776 These tests use a |
Beta Was this translation helpful? Give feedback.
-
The gimix hackathon project has another example. It's not quite as high-fidelity, but it's more self-contained... |
Beta Was this translation helpful? Give feedback.
-
dapp-offer-up has a sequence of tests of increasing fidelity, culminating in: |
Beta Was this translation helpful? Give feedback.
-
I'd like to write tests that capture how my off-chain clients are going to interact with my contract. I could do it with a full blockchain node, but the iteration time is slow, compared to ava testing, and the debugging facilities are not as good.
Is there something at the ava level that I can use? If so, how?
Beta Was this translation helpful? Give feedback.
All reactions