Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEAL Coverage in Graviton #24

Open
tzaffi opened this issue Jun 22, 2022 · 0 comments
Open

TEAL Coverage in Graviton #24

tzaffi opened this issue Jun 22, 2022 · 0 comments

Comments

@tzaffi
Copy link
Contributor

tzaffi commented Jun 22, 2022

Coverage Reports

Currently, dry runs return program execution traces which are exposed in the Inspector class via its report() method. Thus, in principle, it should be possible to compute statistics on which lines of associated TEAL program were executed over a sequence of dry runs. With such statistics in hand, coverage reports are therefore possible.

TODO

Flesh this issue out with deliverables and example code coverage frameworks that can serve as inspiration.

Links

  • Coverage in the ETH space: brownie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants