Skip to content

Enforce maximum test execution time of 20-30 seconds #111

Description

@twistedmelonman

Problem:
Tests are taking too long to execute, slowing down feedback loops for developers.

Examples:

  • Tests with complex logic, multiple branches, or varied inputs
  • Extended-duration tests running automatically as part of the standard suite
  • Tests without clear, simple pass/fail criteria

Solutions:

  1. Enforce a 20-30 second maximum per test; fail the suite if exceeded
  2. Decompose complex tests into smaller, focused tests with single assertions
  3. Move extended tests to a separate, opt-in suite (not part of default commit hooks)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to 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