deployment practice · self-paced · intermediate
Pytest and CI Hooks
Guard automation repos with fast tests, fixtures, and Git hooks your teammates will not disable.
3 weeks · 22 guided hours · weekend intensive · 7,900 THB (informational)
Tool stack
PythonpytestGitHub Actions
Description
Bridgemesh treats tests as product features: markers, parametrized edge cases, and CI matrices that respect metered broadband. You will wire pre-commit for ruff and mypy with escape hatches documented for emergencies.
What is included
- Fixture design for flaky IO boundaries
- Markers for slow integration suites
- GitHub Actions and GitLab CI snippets side by side
- pre-commit configuration with mentor-approved exceptions
- Coverage discipline without gaming numbers
- Artifact uploads for failing seeds
Outcomes
- Cut CI time on a sample repo by measurable percentage
- Author a testing guideline page for your squad
- Land a mentor-approved hook set with rollback notes
FAQ
Git hosting flexibility?
Examples skew GitHub; GitLab equivalents provided as appendices.
Do you cover TypeScript tests?
No—Python-only depth here.
Limitation disclosure?
We do not tune enterprise-grade flaky test quarantine systems.
Experience notes
“pre-commit escape hatch doc stopped our team from nuking the file entirely after one false positive.”