Skip to content

Add RandomOrder interceptor #71

@roxblnfk

Description

@roxblnfk

Run tests in random order to detect hidden dependencies between tests.

Behavior

  • Shuffle test methods within TestCase
  • Shuffle TestCases within TestSuite

Configuration

new RandomOrder(
    seed: 12345,         // optional, random by default
    shuffleTests: true,  // shuffle Tests within TestCase
    shuffleCases: true,  // shuffle TestCases within Suite
),

Output

Print seed value so user can reproduce the order on failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions