-
Notifications
You must be signed in to change notification settings - Fork 835
VM test runner rewrite #4088
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
Open
am1r021
wants to merge
31
commits into
master
Choose a base branch
from
tape-to-vitest-refactor-vm-testrunners
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
VM test runner rewrite #4088
Changes from 4 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
d189795
Make runStateTests and helpers test-framework agnostic
am1r021 037829f
Add simplified test runner
am1r021 5c06661
Add types for vm state test data
am1r021 2ea4ef2
Move assert import into stateRunner.spec.ts
am1r021 d606cad
Use current test loader for vm state tests running vitest
am1r021 ac7f454
Fix errors
am1r021 70aea76
Revert "Add types for vm state test data"
am1r021 c9e0c26
Update test retrieval and execution functions
am1r021 9c407de
Use vitest state runner for CI job
am1r021 784c14c
Fix parameter passing
am1r021 dbf44be
Use deepEqual
am1r021 211e1eb
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 e39ed30
Exclude state test runner from unit testing
am1r021 9c9cf3a
Add all parameters from legacy runner
am1r021 1c66033
Fix parameter typing
am1r021 2cd0a46
Catch errors and fail tests that throw errors
am1r021 93264b0
Add verifyTestAmountAllTests functionality to count and compare expec…
am1r021 d61a68c
Activate test count comparisons in CI runs
am1r021 9476153
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 7f9f199
Fix test count comparison
am1r021 db518f8
Use env variables from process
am1r021 46a3a11
Fix parameter passing in ci job
am1r021 586ef73
Update packages/vm/test/tester/stateRunner.spec.ts
am1r021 1f44271
Merge branch 'master' into tape-to-vitest-refactor-vm-testrunners
am1r021 07fee1f
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 8abe920
Calculate testcount for each testcase
am1r021 cea7877
Merge branch 'tape-to-vitest-refactor-vm-testrunners' of github.com:e…
am1r021 f645c96
Remove duplicate tape assert
am1r021 d5dd1a6
Switch state runner scripts to use new runner instead of legacy
am1r021 6a48353
Merge branch 'master' into tape-to-vitest-refactor-vm-testrunners
am1r021 6900cc7
Merge branch 'master' into tape-to-vitest-refactor-vm-testrunners
holgerd77 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
These types are added with the following commit message "Add types for vm state test data", so with "vm" in the text, while the types here are in "tx", so there seems to be something off.
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.
Yes, good point, they would have had to have been moved over to the
vmpackage along with makinggetTestsand other helpers intestLoader.tsavailable there too for use with the new runners. But we could leave that as a potential followup.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.
Side note if we/you tackle later: these tx specific things should never make it over, there should definitely no unified runner, only a very very lightweight unified 20 line file loader (as outlined in the chat) helper function, which is completely independent of whatever VM or TX code and can therefore be placed in a generic place (
testdatapackage).