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

statetest: Load tests from multiple dirs / files #510

Closed
chfast opened this issue Sep 30, 2022 · 0 comments · Fixed by #512
Closed

statetest: Load tests from multiple dirs / files #510

chfast opened this issue Sep 30, 2022 · 0 comments · Fixed by #512
Labels
good first issue Good for newcomers

Comments

@chfast
Copy link
Member

chfast commented Sep 30, 2022

Currently the evmone-statetest tool takes one argument and loads JSON tests from the dir specified by this argument.
Add support for loading tests from multiple dirs (multiple args).
Also handle the case when the argument points to a file not a dir (useful for fuzzing tools or just executing single test).

Test names are created from the file test path as a relative path to the dir root. Having mutiple dirs/files we probably should first find the common root of these and then create test names from relative path to the common root.

Start with statetests_multiple_dirs branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant