Commit 0323961
VM test runner rewrite (#4088)
* Make runStateTests and helpers test-framework agnostic
* Add simplified test runner
* Add types for vm state test data
* Move assert import into stateRunner.spec.ts
* Use current test loader for vm state tests running vitest
* Fix errors
* Revert "Add types for vm state test data"
This reverts commit 5c06661.
* Update test retrieval and execution functions
* Use vitest state runner for CI job
* Use deepEqual
* Exclude state test runner from unit testing
* Add all parameters from legacy runner
* Fix parameter typing
* Catch errors and fail tests that throw errors
* Add verifyTestAmountAllTests functionality to count and compare expected and actual test executions
* Activate test count comparisons in CI runs
* Fix test count comparison
* Use env variables from process
* Fix parameter passing in ci job
* Calculate testcount for each testcase
* Update packages/vm/test/tester/stateRunner.spec.ts
* Remove duplicate tape assert
* Switch state runner scripts to use new runner instead of legacy
* Fix kzg and trustedSetup imports
* Fix undefined check
* Fix environment variables syntax
* Remove error logging
* fix linter error
* update browser deps versions
* use consistent spacing
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix test count incrementing
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Use wrapper script to handle flags for test:state
* Remove unused utility
* Update DEVELOPER.md testing instructions
* chore: migrate test util to vitest assert
* chore: fix logComment calls in test util
* test: add blockchain vitest runner spec
* refactor: migrate blockchain runner to vitest
* chore: add vitest wrapper for blockchain tests
* chore: switch blockchain scripts to vitest
* chore: note blockchain vitest wrapper in CI
* docs: update vm blockchain testing to vitest
* refactor: make state test runner vitest-only
* chore: remove tape tester entrypoint
* chore: drop tape dependencies and script
* chore: update vm test scripts for vitest
* docs: log vitest-only vm testers
* Add log to show Fork being tested
* fix type import
* rename files
* exclude blockchain runner from coverage test
* exclude blockchain runner from browser
* delete commented code
* delete text
---------
Co-authored-by: ScottyPoi <scott.simpson@ethereum.org>
Co-authored-by: Scotty <66335769+ScottyPoi@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent a8d3faa commit 0323961
File tree
19 files changed
+847
-771
lines changed- .github/workflows
- packages/vm
- test
- tester
- runners
- scripts
19 files changed
+847
-771
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
0 commit comments