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

Organize report by function arguments #93

Open
impguard opened this issue Feb 5, 2022 · 0 comments
Open

Organize report by function arguments #93

impguard opened this issue Feb 5, 2022 · 0 comments
Labels

Comments

@impguard
Copy link

impguard commented Feb 5, 2022

How hard would it be to add different display options to organize the final report? As of now it's organized by each function call, but it would be nice to see a report broken down by function arguments.

Say I write a test suite calling function foobar with a bunch of different arguments, it would be nice to see how well that function scales depending on what's passed to it. Right now the only way to do this is to write a bunch of separate tests and run each in isolation. This is particular clumsy with hardhat mocha as well because running a single test is not easy from the command line.

Would be nice to be able to run the whole suite and see a detailed report of function breakdown by args. Other possibilities are to have a report breakdown per test function vs. for the whole suite (though not sure how easy it is to split metrics that way).

@cgewecke cgewecke changed the title Add different display options? Organize report by function arguments Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants