Skip to content

forge test --gas-report is generating gas report only relevant to test written #4486

@web3dopamine

Description

@web3dopamine

After running default foundry template and trying to get gas reports with forge test --gas-report
i am only able to get reports only if the test is written as shown in the image
image.

But when i comment out the test file no report is generated as shown in the image
image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions