Skip to content

Cadence Testing framework feedback #1330

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

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@austinkline

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

@austinkline

You must be logged in to vote
0 replies

You must be logged in to vote
2 replies
@AmarildoGrembi

@franklywatson

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

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