Skip to content

[SUREFIRE-1405] Allow provider to override default runOrder & RunOrderCalculator from surefire-api #2283

@jira-importer

Description

@jira-importer

Dipak Pawar opened SUREFIRE-1405 and commented

  • Currently surefire supports "alphabetical", "reversealphabetical", "random", "hourly", "failedfirst", "balanced" and "filesystem" runOrder.
  • All supported options are hardCoded in RunOrder - https://github.com/apache/maven-surefire/blob/master/surefire-api/src/main/java/org/apache/maven/surefire/util/RunOrder.java#L109
  • There is no way for user to add new runOrder in new provider implemented by him.
  • Allow user to override/add new runOrder & RunOrderCalculator implementaion so surefire-api will dynamically load all supported runOrder & decide which RunOrderCalculator implementation to use for ordering test classes depending on provided runOrders.

Remote Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions