onflow / cadence

Cadence, the resource-oriented smart contract programming language 🏃‍♂️
https://cadence-lang.org
Apache License 2.0
534 stars 138 forks source link

Source Compatibility Suite: Run Cadence tests #3644

Closed turbolent closed 4 weeks ago

turbolent commented 1 month ago

Work towards #3595

Description

Add support for running tests written using the Cadence Testing framework.

This requires building the Flow CLI with replaced dependencies, and using it when running the tests.

Also add a new community repository to the suite: https://github.com/green-goo-dao/flow-utils

cc @RZhang05


github-actions[bot] commented 1 month ago

Cadence Benchstat comparison

This branch with compared with the base branch onflow:master commit c4e631edcac22a31b3bc5c898f91a7f3985b5af1 The command for i in {1..N}; do go test ./... -run=XXX -bench=. -benchmem -shuffle=on; done was used. Bench tests were run a total of 7 times on each branch.

Collapsed results for better readability