Glossary/Shift-Left Testing
Testing & QA
1 min read
Share:

What is Shift-Left Testing?

TL;DR

Shift-left testing is the practice of moving testing activities earlier in the software development lifecycle — from post-development QA to during and before development.

Shift-left testing is the practice of moving testing activities earlier in the software development lifecycle — from post-development QA to during and before development. The principle: the earlier you find a bug, the cheaper it is to fix.

Shift-left techniques: TDD (write tests before code), Static analysis (catch bugs without running code — TypeScript, ESLint, SonarQube), Code review (human review before merge), Pre-commit hooks (run linting and unit tests before commit), CI pipeline (run tests on every push), and Security scanning (SAST/DAST in CI/CD).

Bug cost multiplier by phase: requirements (1x), design (5x), development (10x), testing (20x), production (100x). A bug caught in development costs 10% of what it costs in production.

Why It Matters

The cost of fixing a bug grows exponentially the later it's found. Shifting testing left catches bugs when they're cheapest to fix — in the developer's IDE, not in production at 2 AM.

Frequently Asked Questions

What is shift-left testing?

Moving testing activities earlier in development — from post-development QA to during/before development. Earlier detection = cheaper fixes. Uses TDD, static analysis, pre-commit hooks, and CI pipelines.

How much does a production bug cost vs a development bug?

Industry research shows approximately 100x: a bug that costs $100 to fix during development costs $10,000 to fix in production (incident response, hotfix, customer impact, reputation damage).

Related Terms

Need Expert Help?

Richard Ewing is a Product Economist and AI Capital Auditor. He helps companies translate technical complexity into financial clarity.

Book Advisory Call →