Skip to content

Regression tests with -w should only re-run affected test methods, not the entire file #88874

Description

@ambv
BPO 44708
Nosy @ambv, @pablogsal, @miss-islington
PRs
  • bpo-44708: Only re-run test methods that match names of previously failing test methods #27287
  • [3.10] bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) #27290
  • [3.9] bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) #27293
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/ambv'
    closed_at = <Date 2021-07-22.21:18:18.842>
    created_at = <Date 2021-07-22.14:32:29.824>
    labels = ['3.11', 'tests', '3.9', '3.10', 'performance']
    title = 'Regression tests with -w should only re-run affected test methods, not the entire file'
    updated_at = <Date 2021-07-22.21:18:18.842>
    user = 'https://github.com/ambv'

    bugs.python.org fields:

    activity = <Date 2021-07-22.21:18:18.842>
    actor = 'lukasz.langa'
    assignee = 'lukasz.langa'
    closed = True
    closed_date = <Date 2021-07-22.21:18:18.842>
    closer = 'lukasz.langa'
    components = ['Tests']
    creation = <Date 2021-07-22.14:32:29.824>
    creator = 'lukasz.langa'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44708
    keywords = ['patch']
    message_count = 4.0
    messages = ['397985', '397994', '398001', '398007']
    nosy_count = 3.0
    nosy_names = ['lukasz.langa', 'pablogsal', 'miss-islington']
    pr_nums = ['27287', '27290', '27293']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue44708'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.11only security fixes3.9 (EOL)end of lifeperformancePerformance or resource usagetestsTests in the Lib/test dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions