8000 feat(python): detect tests exceeding a configurable time budget by 2409324124 · Pull Request #208 · habit-hooks/habit-hooks · GitHub
[go: up one dir, main page]

Skip to content

feat(python): detect tests exceeding a configurable time budget - #208

Open
2409324124 wants to merge 1 commit into
habit-hooks:mainfrom
2409324124:issue-57-python-slow-test
Open

2409324124 wants to merge 1 commit into
habit-hooks:mainfrom
2409324124:issue-57-python-slow-test

Conversation

@2409324124
Copy link
Copy Markdown

Closes #57. Python sensor and generic guide first, as agreed; TypeScript remains separate.

  • Flag tests over a configurable budget (default 1s, suggested severity), including setup/call/teardown.
  • Read native pytest timings while respecting project selection and retries.
  • Coach fast, deterministic, isolated tests.

Validation: 1024 passed, 8 skipped; pytest 8 compatibility: 57 passed. Ruff and habit-hooks --all passed locally. Human review completed.

Scans rerun selected tests. Windows was not tested locally; plugins replacing pytest's standard report protocol are unsupported.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Detect slow tests in the language plugins + coach fast, reliable tests

1 participant

0