UP TO 40% OFF PMP AND CAPM EXAM PREP PRODUCTS! | PASS YOUR EXAM CONFIDENTLY, ON YOUR FIRST TRY!
UP TO 40% OFF PMP AND CAPM EXAM PREP PRODUCTS! | PASS YOUR EXAM CONFIDENTLY, ON YOUR FIRST TRY!
A. Togay Koralturk, Best-Selling PMP Author
Last updated on July 22, 2026
11 min read
Most agile frameworks tell you how to manage work but stay silent on how to actually build the product. Extreme Programming is the opposite: it's the agile framework obsessed with engineering craft — how you write, test, and integrate code. The name sounds intimidating, but the idea is simple: take the practices known to improve software and dial them up to the extreme. This guide explains Extreme Programming (XP) in full — where it came from, its five values, its twelve practices, pair programming, how it compares to Scrum, and how it appears on the PMP and CAPM exams.
On this page
Extreme Programming (XP) is an agile framework for software development that aims to produce higher-quality software through disciplined engineering practices and very frequent releases. Where most agile approaches focus on managing work, XP is unusual in being prescriptive about how the work is engineered — how code is written, tested, and integrated.
The core belief behind XP is that certain practices are so beneficial that they should be applied continuously, to an "extreme" degree. If code review improves quality, then review all the time, hence pair programming. If testing catches bugs, then test constantly and write the tests first — hence test-driven development. If integrating code frequently reduces pain, then integrate many times a day — hence continuous integration. By taking known good practices to their limit, XP builds quality directly into the development process rather than trying to inspect it in afterward. The result is a framework that keeps software flexible and reliable even as requirements change rapidly, which is exactly the environment XP was designed for.
Extreme Programming was created by Kent Beck in the late 1990s, formalized while he was working on the Chrysler Comprehensive Compensation (C3) payroll project. Beck set out the framework in his 1999 book Extreme Programming Explained, and it became one of the most influential of the early agile methods — Beck was later one of the seventeen signatories of the Agile Manifesto in 2001.
XP emerged from the same frustration that drove the whole agile movement: traditional, heavyweight processes were producing late, low-quality software that couldn't adapt to change. Beck's answer was to strip development down to a set of proven practices and apply them relentlessly. Several ideas now common across agile actually originated in or were popularized by XP, including user stories and continuous integration. Though its popularity as a complete named methodology has waned since its late-1990s peak, XP's engineering practices have been enormously influential and are now woven into how most modern software teams work, whether they call it "XP" or not.
Ready to take the next step in project management?
200,000+ Learners Trust Our Instructors
XP is grounded in five values that guide how a team works together. They're the "why" behind the practices, and a team that adopts the practices without the values usually misses the point.
Together these values create a culture of openness and continuous improvement. They're deliberately human — XP treats software development as a social activity as much as a technical one, which is why respect and communication sit alongside the engineering.
XP's most distinctive feature is its set of twelve concrete practices — the specific habits a team follows. They're usually grouped into four areas, and they reinforce one another when used together.
| Practice | What it is |
|---|---|
| Pair programming | Two developers work together at one workstation, continuously reviewing each other's code. |
| Planning game | Frequent, collaborative planning between the customer and developers to decide the next release and iteration. |
| Test-driven development (TDD) | Write an automated test first, then write just enough code to pass it, then refactor. |
| Whole team / on-site customer | A real customer is available to the team to answer questions and set priorities. |
| Continuous integration | Integrate and test code into a shared build many times a day, catching conflicts early. |
| Refactoring | Continuously improve the code's internal structure without changing its behavior. |
| Small releases | Ship small, working increments frequently to get the software in front of users. |
| Simple design | Keep the design as simple as possible for the current requirements, no more. |
| Coding standards | The whole team writes code to a shared, consistent standard. |
| Collective code ownership | Anyone can improve any part of the codebase; no one "owns" a module exclusively. |
| System metaphor | A shared, simple story or naming scheme that describes how the system works. |
| Sustainable pace | Work at a pace the team can maintain indefinitely — famously, no routine overtime. |
The practices are meant to be adopted together, because they compensate for one another: pair programming and collective ownership make refactoring safe, TDD and continuous integration make frequent small releases reliable, and a sustainable pace keeps quality from slipping under pressure. Taken as a whole, they're a recipe for keeping code clean and changeable.
Pair programming is XP's most famous — and most debated — practice: two developers work together at a single workstation, sharing the job of writing one stream of code. One person, the driver, actively types the code, while the other, the navigator, reviews each line as it's written, thinks ahead about the overall direction, and catches problems. The two swap roles regularly, so both stay engaged.
The value is that it turns code review into a continuous activity rather than an after-the-fact step. Two minds on the same problem catch more bugs, produce cleaner designs, and spread knowledge across the team, so no single person becomes an indispensable bottleneck. The obvious objection is cost: putting two people on one task looks like it should halve output. In practice, studies suggest pairing adds only around 15% to the time for a given task, and that cost is typically offset by markedly fewer defects and less rework later, plus the harder-to-measure benefit of shared understanding. Pairing isn't right for every task — trivial work doesn't need it — but for complex or critical code, its quality and knowledge-sharing payoff is why it endures well beyond XP itself.
XP and Scrum are both agile frameworks, but they operate on different layers, which is why they're so often combined rather than compared. Scrum is a management framework — it defines roles, events, and artifacts for organizing work, but it's deliberately silent on how the team engineers the product. XP is an engineering framework — it prescribes specific technical practices for building software well, but says less about project management structure.
The practical differences follow from that. XP iterations tend to be shorter (one to two weeks), XP includes an on-site customer where Scrum has a product owner, and XP is more willing to allow changes to the work within an iteration, as long as a task hasn't started, whereas Scrum protects the sprint goal from change. But the most important point is that the two are complementary, not competing. Many teams run Scrum for the management layer — sprints, planning, reviews, retrospectives — and layer XP's engineering practices, like TDD and continuous integration, underneath. Scrum tells the team how to organize; XP tells it how to build. Used together, they cover both halves of delivering software well.
XP's intense focus on engineering discipline produces real benefits, but it also asks a lot of a team:
The overall trade-off is that XP delivers exceptional software quality in exchange for a high bar of discipline and the right conditions. It rewards skilled, co-located teams that fully commit to its practices, and struggles when adopted superficially or in circumstances its practices don't suit.
XP is at its best for small, skilled software teams working on projects with rapidly changing requirements where code quality is critical. Its engineering practices shine when the cost of defects is high and the software must stay flexible over time — exactly the conditions Beck designed it for. It also suits teams that can work closely together, since several of its practices assume close collaboration and, ideally, co-location.
It's a poorer fit in other situations. Highly distributed teams struggle with practices like pair programming; non-software work can't use its engineering-specific practices at all; and teams that can't commit to the discipline XP requires will get little from adopting its label. In modern practice, few teams adopt "XP" wholesale as a named methodology. Instead, its individual engineering practices — TDD, continuous integration, refactoring, and pairing — have been absorbed into how teams work across Scrum, Kanban, and beyond. The most common way to "use XP" today is to layer its practices onto another framework, taking the engineering discipline without necessarily adopting the whole package.
Because the current PMP exam covers the range of agile approaches, Extreme Programming appears as one of the named agile frameworks, notable for its engineering practices that enable frequent, high-quality delivery. You're expected to recognize XP as an agile method, to know that its practices — continuous integration, test-driven development, pair programming, refactoring, small releases — support the agile goal of delivering working software early and often, and to understand that XP complements a management framework like Scrum rather than competing with it.
Situational questions may describe a team struggling with software quality despite a working management process, and reward adopting XP's engineering practices to build quality in. Others test the distinction between XP (how to engineer) and Scrum (how to manage), or ask you to identify XP practices. The underlying theme is that sound engineering practice is what makes frequent delivery sustainable. Our PMP Complete Study Guide, the most complete on the market, covers the agile frameworks and practices as the exam frames them.
A Scrum team's events run smoothly and it delivers an increment every sprint, but the codebase is deteriorating: the defect count has doubled over the last three sprints, small changes keep breaking unrelated features, and roughly a third of each sprint now goes to fixing regressions. The sponsor, alarmed by the trend, proposes freezing new features for two sprints so the team can stabilize the code before resuming delivery.
What is the best way to address the quality problem?
a) Accept the sponsor's proposal: pause feature work for two sprints, fix the known defects, and resume delivery once the bug backlog is cleared.
b) Introduce engineering practices such as test-driven development, continuous integration, and ongoing refactoring into the team's daily work within the existing sprints.
c) Require a senior developer to review and approve every change before it is merged, so defects are caught before they enter the codebase.
d) Add dedicated testers to the team so each story is independently verified before it is shown at the sprint review.
Correct answer: B.
Rationale: The buried clue is that small changes break unrelated features: that pattern points to design decay and missing engineering discipline, not to a temporary pile of bugs. Extreme Programming's practices exist for exactly this — test-driven development and continuous integration catch regressions the moment they appear, and continuous refactoring reverses the decay — and they operate inside the existing Scrum cadence, since Scrum manages the work while staying deliberately silent on engineering.
To drill this kind of agile-practice judgment, work through our PMP practice exams or, at the entry level, our CAPM practice exams.
Ready to take the next step in project management?
200,000+ Learners Trust Our Instructors
Extreme Programming (XP) is an agile framework for software development focused on producing high-quality software through disciplined engineering practices and very frequent releases. Unlike most agile approaches, which concentrate on managing work, XP is prescriptive about how code is written, tested, and integrated. It takes proven practices — like code review and testing — to an "extreme" degree, as in pair programming and test-driven development.
Extreme Programming was created by Kent Beck in the late 1990s, formalized during his work on the Chrysler C3 payroll project, and set out in his 1999 book Extreme Programming Explained. Beck was later one of the seventeen signatories of the Agile Manifesto in 2001. XP was one of the most influential early agile methods, and several ideas it popularized, such as user stories and continuous integration, are now common across agile.
The five values of Extreme Programming are communication, simplicity, feedback, courage, and respect. Communication favors direct conversation; simplicity means doing the simplest thing that works; feedback means getting input early and often; courage means being honest and willing to change or delete code; and respect means valuing every team member. The values are the reasoning behind XP's concrete practices.
XP's twelve practices are pair programming, the planning game, test-driven development, whole team (an on-site customer), continuous integration, refactoring, small releases, simple design, coding standards, collective code ownership, system metaphor, and sustainable pace. They're meant to be used together, since they reinforce one another — for example, pair programming and collective ownership make continuous refactoring safe.
Pair programming is an XP practice in which two developers work together at one workstation. One, the driver, writes the code, while the other, the navigator, reviews each line, thinks ahead, and catches problems; they swap roles regularly. It turns code review into a continuous activity, improving quality and spreading knowledge across the team. It adds roughly 15% to the time for a task, usually offset by fewer defects and less rework.
Scrum is a management framework that defines roles, events, and artifacts but is silent on engineering practices. XP is an engineering framework that prescribes technical practices like test-driven development and continuous integration but says less about management structure. XP iterations tend to be shorter and it uses an on-site customer rather than a product owner. The two are complementary and are often combined, with Scrum for management and XP for engineering.
Yes. The current PMP exam covers agile approaches, and Extreme Programming appears as a named agile framework known for its engineering practices, such as continuous integration, test-driven development, and pair programming. You are expected to recognize XP as an agile method, to know that its practices support frequent high-quality delivery, and to understand that it complements a management framework like Scrum rather than competing with it.
Yes. The CAPM covers agile frameworks including XP, usually a little more directly than the PMP — often testing its values, its practices, or the difference between XP and Scrum. Because the CAPM is scenario-based, you should also be ready to recognize when a team's problem is an engineering gap that XP's practices, rather than a management change, would address.

A. Togay Koralturk August 03, 2026 10 min read
A burnup chart plots work completed and total scope as two lines, so scope stays visible. An example, how to read it, burnup vs. burndown, and the PMP exam.

A. Togay Koralturk August 03, 2026 10 min read
Agile release planning maps features across sprints toward a release. The planning levels, date vs. scope, how to forecast with velocity, and PMP exam tips.

A. Togay Koralturk July 29, 2026 12 min read
A minimum viable product (MVP) is the simplest usable version of a product, built to learn from customers. MVP vs. prototype, examples, and PMP exam tips.
A. Togay Koralturk is a globally recognized pioneer and educator in project management and sustainable design and construction, a best-selling author, and an entrepreneur. His publications have reached hundreds of thousands of professionals worldwide and have been extensively adopted as primary course material in universities throughout the United States. Holding a bachelor’s degree in civil engineering and a master’s degree in construction management from the University of Southern California, he has played a pivotal role in leading numerous construction projects ranging from $100 million to $500 million worldwide, and he has educated thousands of professionals. Continuing his professional journey, he founded Projeric and Projectific, where he serves as the instructor and CEO.