-
Notifications
You must be signed in to change notification settings - Fork 107
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
all: Support ethereum/tests
StateTest format
#356
Conversation
62db6b4
to
5272ff4
Compare
Rebased to main, and fixed fork's |
d05ce2c
to
77f43cf
Compare
Force-push: Rebased to main. |
* all: abstract fixtures, convert StateTest into a BlockchainTest generator * fix: tox
…xture formats; Per-format sub-folder output (#358) * tools: Move fixture collector to spec * refactor: Fixtures collector * all: remove `BaseTestConfig` * fix: all filler tests * docs: update * tox: spelling * feat: Parametrize the supported fixture types for each test type * fix: many tests * fix: remaining tests * fix: fixture name case * fix: Indirect parametrize using fixture format * feat: Dynamic generation of spec test fixtures * fix: type-checking * fix: imports * feat(pytest): allow filtering by fixture format via pytest mark (#12) * feat(pytest): allow filtering by fixture format via pytest mark * feat(fw): give unset fixture format a more verbose name * feat(pytest): only paramatrize post-merge forks with hive format (#13) * feat(pytest): remove items which are pre-merge and have hive format * chore: make exception string clearer; fix whitespace * fix(pytest): test_filler: remove `enable_hive` completely * fix: Remove unused `STATE_TEST_HIVE` --------- Co-authored-by: danceratopz <[email protected]>
Co-authored-by: danceratopz <[email protected]>
0559c67
to
b64df50
Compare
Rebased to main. |
Co-authored-by: spencer-tb <[email protected]>
b64df50
to
67d8f43
Compare
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! All passing on hive pyspec or as expected.
I've not tried consume direct
using statetest but can fix any issues arising from that in a seperate PR :)
My pedantic comments as usual 😆
Co-authored-by: spencer <[email protected]>
The functionality from ethereum_test.filler.fill_test() got moved to the StateTest, respectively BlockchainTest, generate() method.
* refactor: use pytest fixtures as apposed to helper function * refactor: update comments due to state test fixtures #356 The functionality from ethereum_test.filler.fill_test() got moved to the StateTest, respectively BlockchainTest, generate() method.
* refactor: use pytest fixtures as apposed to helper function * refactor: update comments due to state test fixtures #356 The functionality from ethereum_test.filler.fill_test() got moved to the StateTest, respectively BlockchainTest, generate() method.
* test(fw): Unit tests for post state verification. * docs: Add changelog entry. * refactor: make post state verification tests more pytesty (#393) * refactor: use pytest fixtures as apposed to helper function * refactor: update comments due to state test fixtures #356 The functionality from ethereum_test.filler.fill_test() got moved to the StateTest, respectively BlockchainTest, generate() method. --------- Co-authored-by: spencer-tb <[email protected]> Co-authored-by: danceratopz <[email protected]>
🗒️ Description
🔗 Related Issues
Fixes #343
✅ Checklist
mkdocs serve
locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.