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

feat: document/support Foundry-compatible --match options #254

Open
palinatolmach opened this issue Apr 29, 2023 · 0 comments
Open

feat: document/support Foundry-compatible --match options #254

palinatolmach opened this issue Apr 29, 2023 · 0 comments

Comments

@palinatolmach
Copy link

palinatolmach commented Apr 29, 2023

(1) --match flag used in hevm test to analyze individual tests and/or test contracts is only documented in the dapptools repo.

(2) Foundry supports several variations of this option that restrict the analysis to test functions that are
-match-test --- matching the regex,
--no-match-test --- not matching the regex,
--match-contract--- specified in contracts matching the regex,
--no-match-contract--- specified in contracts not matching the regex,
--match-path <GLOB> --- located in source files matching the glob pattern,
--no-match-path <GLOB> --- located in source files not matching the glob pattern;

while --match (similar to the one supported by hevm) is deprecated. It might be nice to have a similar set of options to make symbolic testing of Foundry projects slighly easier.

@palinatolmach palinatolmach closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2023
@palinatolmach palinatolmach reopened this May 2, 2023
@palinatolmach palinatolmach changed the title Investigate/support running individual tests/test contracts in hevm test via --match-path feat: document/support Foundry-compatible --match options May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant