Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
4d79027
Make runStateTests and helpers test-framework agnostic
am1r021 May 20, 2025
1a882a9
Add simplified test runner
am1r021 May 20, 2025
b710d80
Add types for vm state test data
am1r021 May 20, 2025
1a6c0bf
Move assert import into stateRunner.spec.ts
am1r021 May 20, 2025
77337a5
Use current test loader for vm state tests running vitest
am1r021 May 21, 2025
f76d7cd
Fix errors
am1r021 May 21, 2025
8023143
Revert "Add types for vm state test data"
am1r021 May 21, 2025
2e3e76c
Update test retrieval and execution functions
am1r021 May 21, 2025
6637085
Use vitest state runner for CI job
am1r021 May 21, 2025
78465f8
Use deepEqual
am1r021 May 21, 2025
fc759f4
Exclude state test runner from unit testing
am1r021 May 22, 2025
9be29e4
Add all parameters from legacy runner
am1r021 May 22, 2025
91bdd4b
Fix parameter typing
am1r021 May 22, 2025
1274c27
Catch errors and fail tests that throw errors
am1r021 May 22, 2025
6c15135
Add verifyTestAmountAllTests functionality to count and compare expec…
am1r021 May 22, 2025
6e8513d
Activate test count comparisons in CI runs
am1r021 May 22, 2025
b35384b
Fix test count comparison
am1r021 May 22, 2025
506f68d
Use env variables from process
am1r021 May 22, 2025
17e84a3
Fix parameter passing in ci job
am1r021 May 22, 2025
b8f597a
Calculate testcount for each testcase
am1r021 May 28, 2025
9f0051f
Update packages/vm/test/tester/stateRunner.spec.ts
am1r021 May 28, 2025
d95e8b2
Remove duplicate tape assert
am1r021 May 29, 2025
77bb12c
Switch state runner scripts to use new runner instead of legacy
am1r021 May 29, 2025
e4aa1ca
Fix kzg and trustedSetup imports
Nov 19, 2025
508dd30
Fix undefined check
Nov 19, 2025
d2ed1fd
Fix environment variables syntax
Nov 19, 2025
2bc32ad
Remove error logging
Nov 19, 2025
a9b2e71
fix linter error
Nov 19, 2025
3dfc347
update browser deps versions
Nov 19, 2025
63dc8d0
use consistent spacing
ScottyPoi Nov 19, 2025
92c9767
Fix test count incrementing
ScottyPoi Nov 19, 2025
24ccf2a
Use wrapper script to handle flags for test:state
Nov 21, 2025
aae2872
Remove unused utility
Nov 21, 2025
33746c0
Update DEVELOPER.md testing instructions
Nov 21, 2025
147290c
chore: migrate test util to vitest assert
Nov 21, 2025
f820bd5
chore: fix logComment calls in test util
Nov 21, 2025
d78c493
test: add blockchain vitest runner spec
Nov 21, 2025
172bdef
refactor: migrate blockchain runner to vitest
Nov 21, 2025
8791d39
chore: add vitest wrapper for blockchain tests
Nov 21, 2025
cd66018
chore: switch blockchain scripts to vitest
Nov 21, 2025
8273aed
chore: note blockchain vitest wrapper in CI
Nov 21, 2025
a38b8e2
docs: update vm blockchain testing to vitest
Nov 21, 2025
e3147c6
refactor: make state test runner vitest-only
Nov 21, 2025
33d6275
chore: remove tape tester entrypoint
Nov 21, 2025
9f183dd
chore: drop tape dependencies and script
Nov 21, 2025
92330ca
chore: update vm test scripts for vitest
Nov 21, 2025
9a66e60
docs: log vitest-only vm testers
Nov 21, 2025
e97dc59
Add log to show Fork being tested
Nov 21, 2025
e5c49d4
fix type import
Nov 23, 2025
fdf64cd
rename files
Nov 23, 2025
3217cdf
exclude blockchain runner from coverage test
Nov 24, 2025
3c3a697
exclude blockchain runner from browser
Nov 24, 2025
4ea9f8f
delete commented code
Nov 24, 2025
17d062c
delete text
Nov 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/vm-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
fail-on-cache-miss: true

- if: contains(join(github.event.pull_request.labels.*.name, ' '), 'skip most VM') == false
run: npm run test:state -- --fork=${{ matrix.fork }} --verify-test-amount-alltests
run: VITE_FORK=${{ matrix.fork }} VITE_VERIFY_TEST_AMOUNT_ALL_TESTS=1 npx vitest run test/tester/state.spec.ts

- if: contains(join(github.event.pull_request.labels.*.name, ' '), 'skip most VM')
run: npm run test:buildIntegrity
Expand Down Expand Up @@ -237,13 +237,13 @@ jobs:
fail-on-cache-miss: true


- run: npm run test:state -- --fork=${{ matrix.fork }} --verify-test-amount-alltests
- run: VITE_FORK=${{ matrix.fork }} VITE_VERIFY_TEST_AMOUNT_ALL_TESTS=1 npx vitest run test/tester/state.spec.ts

vm-blockchain:
runs-on: ubuntu-latest
strategy:
matrix:
# Args to pass to the tester. Note that some have split the slow tests and only
# Args to pass to the blockchain Vitest wrapper. Note that some have split the slow tests and only
# run on forks where applicable (see PR #489 for numbers on these)

# Tests were split with --dir and --excludeDir to balance execution times below the 9min mark.
Expand Down Expand Up @@ -298,7 +298,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# Args to pass to the tester.
# Args to pass to the blockchain Vitest wrapper.
args:
[
'--fork=Chainstart --verify-test-amount-alltests',
Expand Down
Loading
Loading