Home › Software Testing › Software Testing › tools_automation_cicd › In a CI pipeline, unit tests are typically run
In a CI pipeline, unit tests are typically run
AOnly once a month by senior devs
BOn every commit before any deployment
COnly manually before each release
DOnly after deployment to production
Answer & Solution
Correct answer: B. On every commit before any deployment
Unit tests are fast, deterministic, and run on every commit/PR by the CI pipeline. Failures block the merge. Integration and end-to-end tests run at later pipeline stages, sometimes on a schedule rather than per commit.
Related questions
In Scrum, the 'Definition of Done' (DoD) typically includesTest pyramid (Mike Cohn) advocates forA 'flaky test' is a test thatBehaviour-driven development (BDD) tools commonly usePerformance testing in general is BROADER than load testing because it includesAccessibility testing primarily ensures thatPenetration testing is a form ofMutation testing measures the effectiveness of