-
Notifications
You must be signed in to change notification settings - Fork 794
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
Integrate ethereumjs testing logic #808
Conversation
… added test runner initialization info
…te test config test file
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. |
I guess this is blocked until we find out how to reuse this logic on other packages. Putting a label so it doesn't risk being merged for now. :) |
@evertonfraga ah no it is not, the VM is the only consumer of this |
@evertonfraga ah no, you're right, sorry. Have to rethink about this. |
After letting this sink in for a couple of days I still wonder if we should give up on this code being on the On the VM side we would have a much tighter integration and the unnatural code separation would fall away (currently no one is really overly motivated to do dedicated Thoughts? Likely not be able to further participate in the discussion (holidays), but if there is an agreement maybe just merge here as a starting point - then one can further improve on the code directly on the VM - and we can - for now - just leave the code as well in the |
I agree with moving this logic to the VM, see also this comment. |
@evertonfraga @jochem-brouwer Since Jochem is also supporting this idea do we want to merge this in here so that Jochem can build upon the changes done here on his testing update work (mentioned above)? I think we can also live with the situation to keep this in some hybrid state and have the Have solved the merge conflicts on this branch ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
This PR integrates the code logic from
ethereumjs-testing
into the VM test runner, see ethereumjs/ethereumjs-testing#48 for reasoning.It also fixes the file permissions for the
state-test-run-test.sh
test runner state test config test file (before it was not executable) and adds a new initialization and test runner start output box to make configuration options and test running conditions more transparent, the following are some output examples:A useful follow-up PR on this would be to actually rework the integrated code and use a more modern async directory traversal logic like e.g. outline here on StackOverflow.