You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Coverage Reports
Currently, dry runs return program execution traces which are exposed in the
Inspector
class via itsreport()
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
The text was updated successfully, but these errors were encountered: