Skip to content

Accept slow tests #721

@staabm

Description

@staabm

I think it would be useful, if this package would provide a attribute which I can put on a test method to explicitly state

  • I know this test is slow
  • I don't mind when this test takes 10 seconds

that way a user of this package could indicate where slowness is acceptable and known and the tool therefore would be able to easily identify regressions (e.g. when a unit test was fast before and gets slower because of changes)

idea came from this discussion at the php-cs-fixer repo:
PHP-CS-Fixer/PHP-CS-Fixer#9025 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions