You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* refactor(consume): rename `hive_simulators` to `simulators`.
* refactor(consume): move helper modules to a new `helpers` sub-package
* refactor(consume): rename `conftest` to `single_test_client` plugin
Plugins called 'conftest' are registered automatically if in a sub-path to a test. This rename requires an explicit registration, which is specified by defining the `pytest_plugins` variable in 'engine/conftest.py', respectively, 'rlp/conftest.py'.
* refactor(consume): split into separate plugins by functionality
* refactor(consume): split base functionality out to the `base` plugin
These are fixtures that can also be shared by multi-client architecture simulators.
* fix(consume): add `genesis_header` to `single_test_cilent` plugin
* refactor(consume): move test execution files to shared hive_tests directory
Consolidate test_via_engine.py and test_via_rlp.py into a shared hive_tests/
directory to improve organization and prepare for future multi-client architectures.
- Create src/pytest_plugins/consume/simulators/hive_tests/ directory.
- Move test_via_engine.py from engine/ to hive_tests/.
- Move test_via_rlp.py from rlp/ to hive_tests/.
- Update get_command_paths() to reference new locations.
- Maintain separation: plugin configs (conftest.py) stay with their simulators.
This provides better logical organization of test execution files while
maintaining explicit pytest plugin structure.
* fix(consume): add explicit plugin registration for simulator-specific configs
With the move to hive_tests/, the simulator-specific conftest.py files are no
longer automatically discovered. Add explicit plugin registration to ensure
_supported_fixture_formats and other simulator configs are properly loaded.
- Add command_name parameter to HiveEnvironmentProcessor.
- Register simulator-specific plugins based on command name.
- Update ConsumeCommand to pass command_name to processors.
- Fix AttributeError: 'Config' object has no attribute '_supported_fixture_formats'.
* docs: add changelog entry for consume simulator refactor (#1801)
* refactor(consume): move pytest_hive plugin registration to simulator conftest files
Move pytest_hive plugin registration from HiveEnvironmentProcessor to individual
simulator conftest files to centralize all plugin configuration in one place
per simulator.
* chore(cli): remove verbose docstring to keep reviewers happy
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@ Users can select any of the artifacts depending on their testing needs for their
42
42
#### `consume`
43
43
44
44
- 🔀 `consume` now automatically avoids GitHub API calls when using direct release URLs (better for CI environments), while release specifiers like `stable@latest` continue to use the API for version resolution ([#1788](https://github.com/ethereum/execution-spec-tests/pull/1788)).
45
+
- 🔀 Refactor consume simulator architecture to use explicit pytest plugin structure with forward-looking architecture ([#1801](https://github.com/ethereum/execution-spec-tests/pull/1801)).
0 commit comments