Skip to content

implementation of pytest lastfailed usecases that don't prematurely remove tests from the failure set #1248

Open
@RonnyPfannschmidt

Description

@RonnyPfannschmidt

with the current ad hoc implementation its not possible to track all edge cases while remembering the last failure set over into the next iteration

for implementing lastfailed that does not subtract passing tests prematurely from the last failure set
it is necessary to spec out a exact and well defined behavior for the detail interactions between
lastfailed, xdist and sets of tests and failures

there are a few boundaries that create huge potential for edge-cases
the ones i'm aware of while creating the ticket are

  • current collection vs full collection
  • current selection
  • collector failure vs test failure
  • known set of tests vs actual set o f tests (currently untracked and preventing adding newly found tests to the set of tests to the set of tests to run)

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: selectionrelated to test selection from the command line

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions