Skip to content

Cadence Testing framework feedback #1330

Discussion options

You must be logged in to vote

Update:

Regarding Run some function after every test, or a way to snapshot and restore state:
We have added the necessary beforeEach/afterEach hooks and the blockchain.reset() method: onflow/cadence-tools#128

Regarding Access to emitted events after running a transaction:
We have added this functionality as well: onflow/cadence-tools#113

Regarding Ability to reference contract types:
We have added the ground work for this, we just need to figure out how to allow the import of these types in the test files. Probably we will need to phase the setup of the blockchain in a standalone step, preceding the tests execution.

Replies: 9 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@austinkline
Comment options

Comment options

You must be logged in to vote
2 replies
@m-Peter
Comment options

@austinkline
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@AmarildoGrembi
Comment options

@franklywatson
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Aliserag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants