Skip to content
Preptima
mediumConceptDesignScenarioMidSeniorLead

Which tests should run on every commit and which should run nightly, and how do you decide?

7 min readUpdated 2026-08-15

Answer

Short answer

Give the blocking stage a fixed time budget and put only fast, deterministic, developer-diagnosable tests inside it; everything slow, environment-dependent or exploratory moves to a scheduled run with a named owner.

Was this answer helpful?

Likely follow-ups

  • Your per-commit stage has grown to 35 minutes. What comes out first?
  • The nightly suite has been red for three weeks. How do you recover it?
  • How do you keep a shared staging environment usable by two teams running suites at once?
  • What would make you gate a deploy on a performance test?

Related questions