Open In App

SDLC V-Model – Software Engineering

Last Updated : 06 Mar, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

The V-model is a type of SDLC model where the process executes sequentially in a V-shape. It is also known as the Verification and Validation model. It is based on the association of a testing phase for each corresponding development stage. The development of each step is directly associated with the testing phase. The next phase starts only after completion of the previous phase i.e., for each development activity, there is a testing activity corresponding to it. 

The V-Model is a software development life cycle (SDLC) model that provides a systematic and visual representation of the software development process. It is based on the idea of a “V” shape, with the two legs of the “V” representing the progression of the software development process from requirements gathering and analysis to design, implementation, testing, and maintenance.

V-Model Design

  1. Requirements Gathering and Analysis: The first phase of the V-Model is the requirements gathering and analysis phase, where the customer’s requirements for the software are gathered and analyzed to determine the scope of the project.
  2. Design: In the design phase, the software architecture and design are developed, including the high-level design and detailed design.
  3. Implementation: In the implementation phase, the software is built based on the design.
  4. Testing: In the testing phase, the software is tested to ensure that it meets the customer’s requirements and is of high quality.
  5. Deployment: In the deployment phase, the software is deployed and put into use.
  6. Maintenance: In the maintenance phase, the software is maintained to ensure that it continues to meet the customer’s needs and expectations.
  7. The V-Model is often used in safety: critical systems, such as aerospace and defence systems, because of its emphasis on thorough testing and its ability to clearly define the steps involved in the software development process.
software-Testing-Tutorial-SDLC-V-model

SDLC V-Model

The following illustration depicts the different phases in a V-Model of the SDLC.

Verification Phases:

It involves a static analysis technique (review) done without executing code. It is the process of evaluation of the product development phase to find whether specified requirements are met.

There are several Verification phases in the V-Model:

Business Requirement Analysis:

This is the first step of the designation of the development cycle where product requirement needs to be cured from the customer’s perspective. in these phases include proper communication with the customer to understand the requirements of the customers. these are the very important activities that need to be handled properly, as most of the time customers do not know exactly what they want, and they are not sure about it at that time then we use an acceptance test design planning which is done at the time of business requirement it will be used as an input for acceptance testing.

System Design:

Design of the system will start when the overall we are clear with the product requirements, and then need to design the system completely. This understanding will be at the beginning of complete under the product development process. these will be beneficial for the future execution of test cases.

Architectural Design:

In this stage, architectural specifications are comprehended and designed. Usually, several technical approaches are put out, and the ultimate choice is made after considering both the technical and financial viability. The system architecture is further divided into modules that each handle a distinct function. Another name for this is High-Level Design (HLD).

At this point, the exchange of data and communication between the internal modules and external systems are well understood and defined. During this phase, integration tests can be created and documented using the information provided.

Module Design:

This phase, known as Low-Level Design (LLD), specifies the comprehensive internal design for every system module. Compatibility between the design and other external systems as well as other modules in the system architecture is crucial. Unit tests are a crucial component of any development process since they assist in identifying and eradicating the majority of mistakes and flaws at an early stage. Based on the internal module designs, these unit tests may now be created.

Coding Phase:

The Coding step involves writing the code for the system modules that were created during the Design phase. The system and architectural requirements are used to determine which programming language is most appropriate.

The coding standards and principles are followed when performing the coding. Before the final build is checked into the repository, the code undergoes many code reviews and is optimized for optimal performance.

Validation Phases:

It involves dynamic analysis techniques (functional, and non-functional), and testing done by executing code. Validation is the process of evaluating the software after the completion of the development phase to determine whether the software meets the customer’s expectations and requirements. 

So, V-Model contains Verification phases on one side of the Validation phases on the other side. The verification and Validation phases are joined by the coding phase in a V-shape. Thus, it is called V-Model. 
There are several Validation phases in the V-Model:

Unit Testing:

Unit Test Plans are developed during the module design phase. These Unit Test Plans are executed to eliminate bugs in code or unit level.

Integration testing:

After completion of unit testing Integration testing is performed. In integration testing, the modules are integrated and the system is tested. Integration testing is performed in the Architecture design phase. This test verifies the communication of modules among themselves.

System Testing:

System testing tests the complete application with its functionality, inter-dependency, and communication. It tests the functional and non-functional requirements of the developed application.

User Acceptance Testing (UAT):

UAT is performed in a user environment that resembles the production environment. UAT verifies that the delivered system meets the user’s requirement and the system is ready for use in the real world.

Design Phase: 

  • Requirement Analysis: This phase contains detailed communication with the customer to understand their requirements and expectations. This stage is known as Requirement Gathering.
  • System Design: This phase contains the system design and the complete hardware and communication setup for developing the product.
  • Architectural Design: System design is broken down further into modules taking up different functionalities. The data transfer and communication between the internal modules and with the outside world (other systems) is clearly understood.
  • Module Design: In this phase, the system breaks down into small modules. The detailed design of modules is specified, also known as Low-Level Design (LLD).

Testing Phases: 

  • Unit Testing: Unit Test Plans are developed during the module design phase. These Unit Test Plans are executed to eliminate bugs at the code or unit level.
  • Integration testing: After completion of unit testing Integration testing is performed. In integration testing, the modules are integrated, and the system is tested. Integration testing is performed in the Architecture design phase. This test verifies the communication of modules among themselves.
  • System Testing: System testing tests the complete application with its functionality, interdependency, and communication. It tests the functional and non-functional requirements of the developed application.
  • User Acceptance Testing (UAT): UAT is performed in a user environment that resembles the production environment. UAT verifies that the delivered system meets the user’s requirement and the system is ready for use in the real world.

Industrial Challenge:

As the industry has evolved, the technologies have become more complex, increasingly faster, and forever changing, however, there remains a set of basic principles and concepts that are as applicable today as when IT was in its infancy. 

  • Accurately define and refine user requirements.
  • Design and build an application according to the authorized user requirements.
  • Validate that the application they had built adhered to the authorized business requirements.

Importance of V-Model

1. Early Defect Identification

By incorporating verification and validation tasks into every stage of the development process, the V-Model encourages early testing. This lowers the cost and effort needed to remedy problems later in the development lifecycle by assisting in the early detection and resolution of faults.

2. determining the Phases of Development and Testing

The V-Model contains a testing phase that corresponds to each stage of the development process. By ensuring that testing and development processes are clearly mapped out, this clear mapping promotes a methodical and orderly approach to software engineering.

3. Prevents “Big Bang” Testing

Testing is frequently done at the very end of the development lifecycle in traditional development models, which results in a “Big Bang” approach where all testing operations are focused at once. By integrating testing activities into the development process and encouraging a more progressive and regulated testing approach, the V-Model prevents this.

4. Improves Cooperation

At every level, the V-Model promotes cooperation between the testing and development teams. Through this collaboration, project requirements, design choices, and testing methodologies are better understood, which improves the effectiveness and efficiency of the development process.

5. Improved Quality Assurance

Overall quality assurance is enhanced by the V-Model, which incorporates testing operations at every level. Before the program reaches the final deployment stage, it makes sure that it satisfies the requirements and goes through a strict validation and verification process.

Principles of V-Model

  • Large to Small: In V-Model, testing is done in a hierarchical perspective, for example, requirements identified by the project team, creating High-Level Design, and Detailed Design phases of the project. As each of these phases is completed the requirements, they are defining become more and more refined and detailed.
  • Data/Process Integrity: This principle states that the successful design of any project requires the incorporation and cohesion of both data and processes. Process elements must be identified at every requirement.
  • Scalability: This principle states that the V-Model concept has the flexibility to accommodate any IT project irrespective of its size, complexity, or duration.
  • Cross Referencing: A direct correlation between requirements and corresponding testing activity is known as cross-referencing.

Tangible Documentation:

This principle states that every project needs to create a document. This documentation is required and applied by both the project development team and the support team. Documentation is used to maintain the application once it is available in a production environment.

Why preferred? 

  • It is easy to manage due to the rigidity of the model. Each phase of V-Model has specific deliverables and a review process.
  • Proactive defect tracking – that is defects are found at an early stage.

When to Use of V-Model?

  • Traceability of Requirements: The V-Model proves beneficial in situations when it’s imperative to create precise traceability between the requirements and their related test cases.
  • Complex Projects: The V-Model offers a methodical way to manage testing activities and reduce risks related to integration and interface problems for projects with a high level of complexity and interdependencies among system components.
  • Waterfall-Like Projects: Since the V-Model offers an approachable structure for organizing, carrying out, and monitoring testing activities at every level of development, it is appropriate for projects that use a sequential approach to development, much like the waterfall model.
  • Safety-Critical Systems: These systems are used in the aerospace, automotive, and healthcare industries. They place a strong emphasis on rigid verification and validation procedures, which help to guarantee that essential system requirements are fulfilled and that possible risks are found and eliminated early in the development process.

Advantages of V-Model

  • This is a highly disciplined model and Phases are completed one at a time.
  • V-Model is used for small projects where project requirements are clear.
  • Simple and easy to understand and use.
  • This model focuses on verification and validation activities early in the life cycle thereby enhancing the probability of building an error-free and good quality product.
  • It enables project management to track progress accurately.
  • Clear and Structured Process: The V-Model provides a clear and structured process for software development, making it easier to understand and follow.
  • Emphasis on Testing: The V-Model places a strong emphasis on testing, which helps to ensure the quality and reliability of the software.
  • Improved Traceability: The V-Model provides a clear link between the requirements and the final product, making it easier to trace and manage changes to the software.
  • Better Communication: The clear structure of the V-Model helps to improve communication between the customer and the development team.

Disadvantages of V-Model

  • High risk and uncertainty.
  • It is not good for complex and object-oriented projects.
  • It is not suitable for projects where requirements are not clear and contain a high risk of changing.
  • This model does not support iteration of phases.
  • It does not easily handle concurrent events.
  • Inflexibility: The V-Model is a linear and sequential model, which can make it difficult to adapt to changing requirements or unexpected events.
  • Time-Consuming: The V-Model can be time-consuming, as it requires a lot of documentation and testing.
  • Overreliance on Documentation: The V-Model places a strong emphasis on documentation, which can lead to an overreliance on documentation at the expense of actual development work.

Conclusion

A scientific and organized approach to the Software Development Life Cycle (SDLC) is provided by the Software Engineering V-Model. The team’s expertise with the selected methodology, the unique features of the project, and the nature of the requirements should all be taken into consideration when selecting any SDLC models, including the V-Model.

Reference Book:

“Software Engineering: A Practitioner’s Approach” by Roger S. Pressman, published by McGraw-Hill Education, 2017.



Previous Article
Next Article

Similar Reads

RAD Model vs Traditional SDLC - Software Engineering
Software Development is the development of software for distinct purposes. There are several types of Software Development Models. In this article, we will see the difference between the RAD Model and the Traditional Software Development Life Cycle (SDLC). What is Traditional SDLC?In the traditional SDLC model what happens is that it works sequenti
6 min read
Pham-Nordmann-Zhang Model (PNZ model) - Software Engineering
Pham Nordmann Zhang (PNZ) model is used to evaluate the reliability prediction of a component-based system or software and fault tolerance structures techniques.PNZ is considered to be one of the best models, which is based on the nonhomogeneous Poisson process(NHPP). Our goal is to produce a reliability prediction tool using PNZ models based on re
7 min read
Overview of Fish SDLC Model
Prerequisite: Software Development Life Cycle SDLC stands for Software Development Life Cycle. It refers to the methods of developing quality software by clearly defining the processes involved in the development. SDLC is usually divided into several phases(stages) for developing software. One of the popular SDLC is the FISH Model. In the Fish Mode
5 min read
Software paradigm and Software Development Life Cycle (SDLC)
Software paradigm refers to method and steps, which are taken while designing the software. Programming paradigm is a subset of software design paradigm which is further a subset of software development paradigm. Software is considered to be a collection of executable programming code, associated libraries, and documentation. Software development p
9 min read
Software Engineering | Schick-Wolverton software reliability model
Prerequisite - Jelinski Moranda software reliability model The Schick-Wolverton (S-W) model is a modification to the J-M model. It is similar to the J-M model except that it further assumes that the failure rate at the ith time interval increases with time ti since the last debugging. In the model, the program failure rate function between the (i-1
4 min read
Jelinski Moranda software reliability model - Software Engineering
The Jelinski-Moranda (JM) Software Reliability Model is a mathematical model developed in 1972 by M.A. Jelinski and P.A. Moranda. It is used to predict the reliability of software systems, particularly during the testing and debugging phases. This model assumes that software failures occur randomly over time and that the likelihood of these failure
10 min read
Real world applications of SDLC (Software Development Life Cycle)
In this article we will study what the real-world applications of SDLC are, but first, what is SDLC? The software development life cycle (SDLC), also referred to as the application development life cycle, is a process for planning, creating, testing, and deploying an information system. The SDLC concept applies to a range of hardware and software c
7 min read
Agile SDLC (Software Development Life Cycle)
Software Development Life Cycle (SDLC) is a process of maintaining or building software applications/services/systems. Generally, it includes various levels, from initial development plan and analysis to post-development software testing and evaluation. It also consists of the models and methodologies that development teams use to develop the softw
8 min read
Software Development Life Cycle (SDLC)
Software development life cycle (SDLC) is a structured process that is used to design, develop, and test good-quality software. SDLC, or software development life cycle, is a methodology that defines the entire procedure of software development step-by-step. The goal of the SDLC life cycle model is to deliver high-quality, maintainable software tha
11 min read
Belady's and Lehmann's Model in Software Engineering
Belady and Lehmann (1972) were among the first researchers to try to capture maintenance effort in a predictive model. This model clear the concept that if poor software development approach is used then the effort and costs can be increased exponentially and the person who develops that software is no longer available to perform the maintenance of
3 min read
Software Engineering Littlewood and Verall’s Model
Littlewood and Verrall's Model is a software reliability model that was proposed by Littlewood and Verrall in the 1990s. It is an extension of the Jelinski-Moranda (J-M) model and is also known as the J-M/L-V model. It estimates the reliability of software systems. Assumptions:The assumptions in this model include the following: Failures are indepe
3 min read
Failure of Waterfall model - Software Engineering
This article focuses on discussing various reasons for the failure of the waterfall model. What is the Waterfall Model?The Waterfall Model is also known as the traditional waterfall software life cycle model. It is very simple to understand and use. In the waterfall model, each phase must be completed before the next phase can begin and there is no
3 min read
COCOMO Model-Software Engineering
COCOMO-II is the revised version of the original Cocomo (Constructive Cost Model) and was developed at the University of Southern California. It is the model that allows one to estimate the cost, effort, and schedule when planning a new software development activity. Sub-Models of COCOMO Model 1. End User ProgrammingApplication generators are used
2 min read
Object-oriented Life Cycle Model - Software Engineering
The Object-Oriented Approach to Building Systems takes the objects as the basis. For this, first, the system to be developed is observed and analyzed, and the requirements are defined as in any other method of system development. Once this is often done, the objects in the required system are identified. For example, in the case of a Banking System
2 min read
W-Model - Software Engineering
Paul Herzlich introduced the W-Model in 1993. W-model is the most recent software development model where we start real testing activity simultaneously software development process. Where software development process is a method in which a software or product is made through various stages of planning, development, and testing before the final soft
3 min read
Quick-fix Model - Software Engineering
Software Maintenance is modifying a software system after delivery to correct faults, add new features, and remove obsolete functions. The maintenance process varies considerably depending on the type of software being maintained. The most expensive part of the software life cycle is the software maintenance process. There are some models for softw
3 min read
Evolutionary Model - Software Engineering
The evolutionary model is a combination of the Iterative and Incremental models of the software development life cycle. Delivering your system in a big bang release, delivering it in incremental process over time is the action done in this model. Some initial requirements and architecture envisioning need to be done. It is better for software produ
4 min read
Mills' Error Seeding Model - Software Engineering
Mills'error seeding model proposed an error seeding method to estimate the number of errors in a program by introducing seeded errors into the program. From the debugging data, which consists of inherent errors and induced errors, the unknown number of inherent errors could be estimated. If both inherent errors and induced errors are equally likely
7 min read
Prototyping Model - Software Engineering
Prototyping is defined as the process of developing a working replication of a product or system that has to be engineered. It offers a small-scale facsimile of the end product and is used for obtaining customer feedback. The Prototyping concept is described below:  Table of Content Steps of Prototyping ModelTypes of Prototyping ModelsAdvantages of
7 min read
Incremental Process Model - Software Engineering
The Incremental Process Model is also known as the Successive version model. This article focuses on discussing the Incremental Process Model in detail. Table of Content What is the Incremental Process Model?Phases of incremental modelRequirement Process ModelTypes of Incremental ModelWhen to use Incremental Process ModelCharacteristics of Incremen
4 min read
Iterative Waterfall Model - Software Engineering
In a practical software development project, the classical waterfall model is hard to use. So, the iterative waterfall model can be thought of as incorporating the necessary changes to the classical waterfall model to make it usable in practical software development projects. It is almost the same as the classical waterfall model, except some chang
8 min read
Comparison between Agile model and other models in Software Engineering
Software development models are various processes or methods that are chosen for project development depending on the objectives and goals of the project. Agile is a popular model among these development models because it is flexible and adapts quickly to changes. It focuses on delivering small, usable parts of the software regularly, which allows
8 min read
Capability Maturity Model (CMM) - Software Engineering
The Capability Maturity Model (CMM) is a tool used to improve and refine software development processes. It provides a structured way for organizations to assess their current practices and identify areas for improvement. CMM consists of five maturity levels: initial, repeatable, defined, managed, and optimizing. By following the CMM, organizations
11 min read
Goel-Okumoto Model - Software Engineering
The Goel-Okumoto Model is a reliable software prediction tool based on simple principles: bugs are independent, bug detection is related to existing bugs, and bugs are fixed promptly. Through mathematical estimation, it helps predict bug counts and manage software development effectively, offering early detection, risk management, and cost estimati
7 min read
What is Spiral Model in Software Engineering?
The Spiral Model is one of the most important Software Development Life Cycle models. The Spiral Model is a combination of the waterfall model and the iterative model. It provides support for Risk Handling. The Spiral Model was first proposed by Barry Boehm. This article focuses on discussing the Spiral Model in detail. Table of Content What is the
9 min read
COCOMO Model - Software Engineering
The Constructive Cost Model (COCOMO) is a software cost estimation model that helps predict the effort, cost, and schedule required for a software development project. Developed by Barry Boehm in 1981, COCOMO uses a mathematical formula based on the size of the software project, typically measured in lines of code (LOC). Table of Content What is th
15+ min read
Application Composition Estimation Model (COCOMO II | Stage 1) - Software Engineering
Application Composition Estimation Model allows one to estimate the cost, and effort at stage 1 of the COCOMO II Model. In this model, size is first estimated using Object Points. Object Points are easy to identify and count. Object Points define screen, reports, and third-generation (3GL) modules as objects. Object Point estimation is a new size e
4 min read
Putnam Resource Allocation Model in Software Engineering
In software engineering, effective project management is crucial for delivering projects on time and within budget. The Putnam Resource Allocation Model also known as the Putnam Model is one of the models that are helpful in forecasting and resource distribution. Created by Lawrence H. Putnam at the end of the 1970s, this model is used to define th
5 min read
Rapid Application Development Model (RAD) - Software Engineering
The RAD model or Rapid Application Development model is a type of software development methodology that emphasizes quick and iterative release cycles, primarily focusing on delivering working software in shorter timelines. Unlike traditional models such as the Waterfall model, RAD is designed to be more flexible and responsive to user feedback and
9 min read
Waterfall Model - Software Engineering
The classical waterfall model is the basic software development life cycle model. It is very simple but idealistic. Earlier this model was very popular but nowadays it is not used. However, it is very important because all the other software development life cycle models are based on the classical waterfall model. Table of Content What is the SDLC
14 min read
Article Tags :