-
Notifications
You must be signed in to change notification settings - Fork 83
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
Fixture Format: Add descriptive name to every fixture test. #69
Conversation
In reality, the hive name of the test case should not be
E.g. a test in fixture:
should be included as test case:
in hive. |
The above commits achieve the following:
╰─>$ tf --output="fixtures"
DEBUG:ethereum_test_filling_tool.main:searching withdrawals.withdrawals for fillers
DEBUG:ethereum_test_filling_tool.main:searching eips.eip3651 for fillers
DEBUG:ethereum_test_filling_tool.main:searching eips.eip3855 for fillers
DEBUG:ethereum_test_filling_tool.main:searching eips.eip3860 for fillers
DEBUG:ethereum_test_filling_tool.main:searching vm.chain_id for fillers
DEBUG:ethereum_test_filling_tool.main:searching vm.dup for fillers
DEBUG:ethereum_test_filling_tool.main:searching example.example for fillers
INFO:ethereum_test_filling_tool.main:collected 20 fillers
DEBUG:ethereum_test_filling_tool.main:filling - withdrawals.withdrawals.use_value_in_tx
DEBUG:ethereum_test_filling_tool.main:filling - withdrawals.withdrawals.use_value_in_contract
DEBUG:ethereum_test_filling_tool.main:filling - withdrawals.withdrawals.balance_within_block
DEBUG:ethereum_test_filling_tool.main:filling - withdrawals.withdrawals.multiple_withdrawals_same_address
DEBUG:ethereum_test_filling_tool.main:filling - withdrawals.withdrawals.many_withdrawals
DEBUG:ethereum_test_filling_tool.main:filling - withdrawals.withdrawals.self_destructing_account
DEBUG:ethereum_test_filling_tool.main:filling - withdrawals.withdrawals.newly_created_contract
DEBUG:ethereum_test_filling_tool.main:filling - withdrawals.withdrawals.no_evm_execution
DEBUG:ethereum_test_filling_tool.main:filling - withdrawals.withdrawals.zero_amount
DEBUG:ethereum_test_filling_tool.main:filling - withdrawals.withdrawals.large_amount
DEBUG:ethereum_test_filling_tool.main:filling - eips.eip3651.warm_coinbase_call_out_of_gas
DEBUG:ethereum_test_filling_tool.main:filling - eips.eip3651.warm_coinbase_gas_usage
DEBUG:ethereum_test_filling_tool.main:filling - eips.eip3855.push0
DEBUG:ethereum_test_filling_tool.main:filling - eips.eip3860.initcode_limit_contract_creating_tx
DEBUG:ethereum_test_filling_tool.main:filling - eips.eip3860.initcode_limit_contract_creating_tx_gas_usage
DEBUG:ethereum_test_filling_tool.main:filling - eips.eip3860.initcode_limit_create_opcode
DEBUG:ethereum_test_filling_tool.main:filling - eips.eip3860.initcode_limit_create2_opcode
DEBUG:ethereum_test_filling_tool.main:filling - vm.chain_id.chain_id
DEBUG:ethereum_test_filling_tool.main:filling - vm.dup.dup
DEBUG:ethereum_test_filling_tool.main:filling - example.example.yul |
Here is a list of every hive test name using the current state of this PR:
|
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.
Thanks for making these changes!
Regarding the hive test case names, I think it would look a bit more readable to change the underscores between folder names, filename, tag and network for a slash /
, but that is a change for the hive PR.
Here is the new list:
|
Currently a lot of tests have a duplicate name:
000_shanghai
, among others depending on the fork of the test fixture. When running tests in hive this makes it difficult to determine what tests are throwing errors.This PR makes sure every test has its own distinguishable name. It will help aid using
--sim-limit
within the hive simulation: ethereum/hive#732.