Skip to content
CodeKruPro

Which tests run on a pull request and which nightly?

QuizMediumAsked in: Swiggy

The full suite has 2,000 UI tests (90 minutes) and 600 API tests (4 minutes). Developers want feedback on each pull request within 15 minutes. What is the most sensible split?

  • On each pull request: API tests plus a small UI smoke set (a few quick checks of the main features); nightly: the full UI regression, split into parts that run at the same time, with results reported in the morning
  • Run all 2,000 UI tests on every pull request
  • Run nothing on pull requests; only nightly
  • Run a random 10% of tests on each pull request

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in