- Some test methods in the functional test framework are independent and do not require any prior context or setup in
run_test
. - This commit adds a new option for running these specific methods within a test file, allowing them to be executed individually without running the entire test suite.
- Using this option reduces the time you need to wait before the test you are interested in starts executing.
- The functionality added by this PR can be achieved manually by commenting out code, but having a pragmatic option to do this is more convenient.
Note: Running test methods that require arguments or context will fail.
Example Usage:
0build/test/functional/feature_reindex.py --test_methods continue_reindex_after_shutdown
0build/test/functional/feature_config_args.py --test_methods test_log_buffer test_args_log test_connect_with_seednode