designwithfocus

Software engineering

What Is the Waterfall Model? Stages, Limits, and a Testing Fit

By Design With Focus Team 8 min read
Stacked phase boxes from requirements to test, with a single downward arrow

Short answer

The waterfall model finishes each software phase before the next phase starts. Open University describes the pure form as analysis, then design, then implementation, then testing. Royce's 1970 paper called a version that waits until the end to experience timing and storage risky and inviting failure. The Agile Manifesto instead welcomes changing requirements and treats working software as the measure of progress.

Last verified against the sources listed below.

Key takeaways

  • Course pages list a forward sequence. Old Dominion uses five phases, from requirements through maintenance.
  • Royce's 1970 figure puts requirements, program design, analysis, coding, and testing in order, then operations.
  • He wrote that the linear implementation is risky because real timing and storage show up at the late test.
  • His five additions include early design, documentation, a pilot, controlled testing, and customer sign-off points.
  • The Agile Manifesto prefers responding to change and frequent working software over following a fixed plan.

People who ask what is waterfall model are asking about a build that finishes one software phase, then starts the next. Movement is forward. A later surprise has to travel back through phases that were already treated as done.

That shape is one way software gets built. It is a process model, a plan for the order of work, and it is older in the textbooks than the Agile Manifesto.

What stages do courses list?

Course pages do not share one official list, so quote the page you are using.

The Open University describes the pure waterfall as sequential phases of analysis, design, implementation, and testing. Each phase starts only after the previous one has finished. In that pure form, all the analysis is done first, then all the design, then the implementation, and finally the testing.

Old Dominion University teaches five phases and says movement is always forward. Management often signs off on the deliverables from each phase. The lecture calls that accountability an advantage and inflexibility a disadvantage.

Phase on the Old Dominion page What that phase is for
Requirements analysis and definition Write what the customer requires the system to do, and the constraints on it
System and software design Derive a solution, from architecture down to a module’s data structures and algorithms
Implementation Program the design
Verification and validation Find defects and judge whether the system is usable
Operation and maintenance Run the system, then prioritize and retest later changes

Wikipedia’s lead uses a longer everyday list: conception, requirements analysis, design, construction, testing, deployment, and maintenance. Treat that as a common description, not as Royce’s own headings.

A requirement, on the Old Dominion page, is a statement of something the system must do, or a constraint it must work under. The requirements document is the official statement for the developers. It should say what the system does, rather than how.

A requirements specification is the structured contract between client and contractor.

How does Royce describe the flow?

Royce’s 1970 paper draws a phased flow, then says that linear picture is risky.

Winston Royce’s paper, reprinted from Proceedings, IEEE WESCON, August 1970, pages 1 to 9, does not use the word waterfall. Wikipedia notes that absence. The paper says two steps, analysis then coding, are enough for a small program run by the people who built it.

His prose for the larger figure puts two levels of requirements analysis first, then a program design step between analysis and coding, then a testing step. The figure also shows operations. He writes that iteration, when it happens, is with the preceding and succeeding step, and rarely with more remote steps.

He then says, “I believe in this concept, but the implementation described above is risky and invites failure.” The test at the end is the first time timing, storage, and input and output transfers are experienced rather than analyzed. If they miss the external constraints, he writes, a major redesign is required, and the work can return to the origin.

He puts the possible damage at up to a 100 percent overrun in schedule or cost.

He still calls the illustrated approach fundamentally sound, and lists five additions. Preliminary program design should be complete before analysis begins. Documentation must be current, because until coding starts he treats documentation, specification, and design as one thing.

Do the job twice: a pilot, so the delivered build is the second version in the critical areas. Plan, control, and monitor testing. Involve the customer formally after requirements, instead of giving the contractor a free rein until operations.

Where does testing sit?

In the pure model, testing is a late phase, and that lateness is the risk Royce names.

The Open University defines testing as making sure the solution has certain qualities. Verification asks whether the problem is being solved right, against the specification. Validation asks whether it is the right problem.

The lecture at Old Dominion uses the same pair of questions and says testing means executing the program with selected data to uncover bugs. Debugging, finding the faulty code, is a different job.

That lecture also says verification and validation is often drawn as the final waterfall phase, yet it is a full life-cycle activity. Requirements must be validated. Designs may be checked.

Royce calls the test phase the biggest user of manpower, computer time, and management judgment, and the phase of greatest dollar and schedule risk, because it is latest, when backup alternatives are least available. He wants test specialists who did not write the design, a second person to scan analysis and code for obvious mistakes, and at least one numerical check of every logic path.

He writes that he would not accept delivery until that path check was done and certified. He also writes that the simpler method, without his five additions, had never worked on large efforts he had seen.

A tester on a pure waterfall plan therefore inherits a signed specification and meets the software late. Defects that are really requirement mistakes show up when changing them means reopening earlier phases. The word counter is a small practical aid: count the words in a test note before it goes into a ticket, so the note stays short enough to review against that specification.

How does agile differ?

Agile, as the manifesto states it, values responding to change and frequent working software.

The Manifesto for Agile Software Development lists four preferences. Individuals and interactions over processes and tools. Working software over documentation.

Customer collaboration over contract negotiation. Responding to change over following a plan. The authors add that the items on the right still have value.

They value the items on the left more.

The twelve principles make the schedule concrete. The highest priority is to satisfy the customer through early and continuous delivery of valuable software. Changing requirements are welcome even late in development.

Working software should ship frequently, from a couple of weeks to a couple of months, with a preference for the shorter timescale. Business people and developers work together daily. Working software is the primary measure of progress.

The Open University describes agile methods as a family of iterative and incremental processes that grew up as a reaction to waterfall rigidity. The same activities still exist. They repeat in small cycles, and working code is valued above other artifacts such as models or documents.

Question Waterfall, as the course pages state it Agile, as the manifesto states it
When does the next phase start? After the previous phase finishes Work is delivered often, in short cycles
What happens when requirements change? The pure model assumes they were defined up front and stay put Change is welcome, even late
What shows progress? Signed deliverables at phase gates Working software
Where does the customer sit? A requirements contract, then later acceptance Daily collaboration with developers

This is a process choice, not a programming paradigm. A paradigm is about how you structure code. Waterfall and agile are about the order of specification, building, and checking.

When is this a poor fit?

It fits a stable, signed specification. It fits poorly when the real constraints appear only in a running system.

The Open University says the waterfall process assumes a requirements set that is defined beforehand and stays unchanged, and that code is designed from scratch, with no allowance for reuse. Because the process is linear, an earlier phase is not repeated unless the whole sequence is repeated. The page says variants, including the V-model, are still used in some industries, particularly highly regulated ones.

Royce’s own warning is the testing fit. If the first time you experience timing, storage, and input or output is the final test, a miss can invalidate the requirements the design was built on. His pilot step exists so those questions can be tried on a smaller first version.

A team that keeps the phase picture and drops the pilot keeps the risk he named.

Old Dominion’s disadvantage is the same inflexibility from another angle. Sign-off makes progress visible. It also locks an early commitment.

A customer who can describe the job only after seeing working software will fight that lock. The manifesto was written for that situation: change late is expected, and a plan is not the highest valued item.

Use the forward sequence when the contract, the regulator, or the safety case needs a finished specification before code, and when the operating constraints are already known. Prefer short deliveries of working software when the constraint is still a guess. Royce’s paper is not a permit to skip the test plan.

Frequently asked questions

What is the waterfall model and the agile model?

The Open University describes the pure waterfall as analysis, design, implementation, and testing, each starting only after the previous phase finishes. The Agile principles ask for early and continuous delivery and welcome changing requirements even late. They prefer working software every couple of weeks to a couple of months, and they name working software as the measure of progress. Business people and developers work together daily. The manifesto still says a written plan has value. It values responding to change more.

What is the waterfall model in testing?

Old Dominion defines testing as executing the program with selected data to uncover bugs, which is a different job from debugging the faulty code. The lecture draws verification and validation as the last box, then says requirements, designs, the build, the finished system, and later fixes all need checks. Royce called the test phase the biggest user of project resources and the greatest schedule risk, because it sits latest, when backup options are scarcest. He wanted every logic path checked at least once before he would accept delivery.

Did Royce use the word waterfall?

No. Wikipedia's history section says the term waterfall does not appear in his paper, even though his 1970 diagram is often cited as the first formal picture of the phase sequence. The paper itself is titled Managing the Development of Large Software Systems and was reprinted from Proceedings, IEEE WESCON, August 1970, pages 1 to 9. He wrote that he believed the phased concept was sound, then added five features he said were needed to remove most of the development risks. The name came into use later.

What were Royce's five additions?

The paper labels them in order. Program design comes first, before analysis and coding. Document the design, because until coding begins he treated documentation, specification, and design as the same thing. Do the job twice, so the delivered version is the second pass on critical areas, using a smaller pilot. Plan, control, and monitor testing, including a visual scan by someone who did not write the code. Involve the customer in a formal way at points after requirements, so the contractor is not left alone until operations.

Where does maintenance sit?

Old Dominion lists operation and maintenance as the last phase: bug reports arrive, changes are prioritized, and each change is validated, including regression checks that the change did not break code that already worked. The Open University treats maintenance as part of the life cycle after deployment, keeping the solution fitted to the problem, and notes that some authors prefer the word evolution because context and needs keep changing. A pure build that cannot revisit an earlier phase without repeating the whole sequence makes those later changes expensive.

Sources