test: enable running independent functional test sub-tests #30991

pull ismaelsadeeq wants to merge 1 commits into bitcoin:master from ismaelsadeeq:09-2024-run-ind-functional-test changing 1 files +16 −1
  1. ismaelsadeeq commented at 3:55 pm on September 27, 2024: member
    • 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
    
  2. test: enable running individual independent functional test methods
    - Some test methods in the functional test framework are independent
      and do not require any previous context or setup defined 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.
    
    - running test methods that require an argument or context will fail.
    cc21876b12
  3. DrahtBot commented at 3:55 pm on September 27, 2024: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

  4. DrahtBot added the label Tests on Sep 27, 2024
  5. DrahtBot added the label CI failed on Sep 29, 2024
  6. DrahtBot removed the label CI failed on Oct 1, 2024
  7. ismaelsadeeq renamed this:
    test: enable running independent functional test methods
    test: enable running independent functional test sub-tests
    on Oct 1, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-08 16:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me