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

gno test -covermode #2908

Open
thehowl opened this issue Oct 5, 2024 · 1 comment
Open

gno test -covermode #2908

thehowl opened this issue Oct 5, 2024 · 1 comment
Labels
bounty/M M bounties: $2000 bounty

Comments

@thehowl
Copy link
Member

thehowl commented Oct 5, 2024

Depends on #1121

Bounty Requirements

  • The gno test command should have a -covermode flag, which allows to set -covermode count. (Note: -covermode atomic is not necessary in Gno, being single-threaded)
  • This works by "counting" the number of times the statements are covered, rather than simply detecting whether they are covered at least once.
  • The -covermode atomic results should be accessible through the cover profile.
  • The CI on examples should be set to use -covermode atomic.

Bounty Size: M; expected maximum reward: $2,000.

Find out more on the bounty program. If you participate with intention of receiving the bounty, you must agree to the Bounty Terms and Conditions.

More bounties | Contributing guidelines

@thehowl thehowl added bounty bounty/M M bounties: $2000 labels Oct 5, 2024
@moul
Copy link
Member

moul commented Oct 5, 2024

I have a request regarding this issue, or possibly one of the two related issues.

Can we ensure that the system we set up will allow us to compute more information than just counting how many times a line was hit? I believe we also want to monitor metrics such as "gas consumed" per line and per iteration. Additionally, this will be a place where we can track "allocs" if we decide to differentiate between execution gas and storage gas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty/M M bounties: $2000 bounty
Projects
Status: Triage
Development

No branches or pull requests

2 participants