Skip to main content

Software Testing Module 3



V Model






1. Verification (Static Testing) (Left arm of V model)

Definition: Verification is the process of checking whether the software is being developed correctly according to the requirements without executing the code.

Like: "Are we doing the job right"?

What Verification Checks
  • Requirements are clear and complete
  • Design matches requirements
  • Code follows design standards
  • Documents are correct and consistent
How Verification is Done
  • Requirement reviews
  • Design reviews
  • Code reviews
  • Walkthroughs & inspections
Key Characteristics
  • Static process (no code execution)
  • Done early in SDLC
  • Prevents defects rather than finding them later
  • Saves time and cost
Example:  If the SRS says “Password must be at least 8 characters,” verification checks whether this rule is correctly written and included in the design and code documents.

Diagram:
SRS (Requirements)
        ↓
     Design
        ↓
      Code
        ↓
   Document Reviews

1. What is Verification?

Verification is the process of checking whether the software is built correctly as per requirements and design.

2. Why is Verification needed?

It is needed to find errors early and ensure the work follows the given requirements.

3. When is Verification done?

Verification is done before testing, during requirement, design, and coding stages.

4. Who performs Verification?

Verification is performed by developers, testers, and review teams.

Activities in verification are as follow:
1. Walkthrough (informal verification model)
2. Review (formal verification model) 

Walkthrough (verification model informal)

Definition: A walkthrough is an informal review whether the author explain the documents to colleagues.

Who Participates
  • Author (developer / analyst)
  • Team members
  • Testers
  • Manager (optional)
Purpose
  • To understand the document or code
  • To find minor mistakes and missing points
Example: A developer explains the SRS document to the team and discusses requirements.

Key Features
  • Informal process
  • Led by the author
  • No fixed rules
  • Focus on understanding
Diagram
Author → Explains Document → Team Discussion → Suggestions

Review (verification model formal)

Definition: A review is a formal process of examining software documents or code to find errors and ensure quality without running the program.

Who Participates
  • Reviewers (experts)
  • Testers
  • Developers
  • Project manager
Purpose
  • To check correctness and quality
  • To ensure standards and requirements are followed
Example: Testers review the design document to find errors before coding.

Key Features
  • Formal process
  • Planned and structured
  • Defects are recorded
  • Quality focused
Diagram
Document → Reviewers → Error Detection → Improvement


MoM (Minutes of Meetings)

Definition: MoM is a written record of what was discussed, decided, and planned in a meeting.

What MoM Includes
  • Meeting date and time
  • Participants
  • Discussion points
  • Decisions taken
  • Action items with responsibility
Purpose of MoM
  • Keeps a clear record of the meeting
  • Avoids misunderstanding
  • Helps track tasks and decisions
Example: After a review meeting, MoM records the identified defects and who will fix them.

Key Features
  • Short and clear
  • Written after the meeting
  • Used for future reference

Validation (Dynamic Testing) (Right arm of V model)

Definition: Validation is the process of checking whether the software meets user needs and expectations by actually running and testing it.

Like: "Are we doing the right job"?

Key Points
  • Checks whether the right product is built
  • Focuses on user needs and expectations
  • Done by executing the software
  • Performed during testing phases
  • Finds defects in the actual working system
Diagram:
Requirements        ←→   Acceptance Testing (UAT)
      ↓
   Design            ←→   System Testing
      ↓
   Coding            ←→   Integration Testing
                          ↓
                      Unit Testing

Why Validation is Important
  • Ensures software meets user requirements
  • Improves user satisfaction
  • Reduces risk of failure after release
  • Confirms the product works in real conditions
Levels of Validation (Testing Levels)

1. Unit Testing: Testing individual units or functions of the software.
  • Performed by: Developer
  • Focus: Individual functions or modules
  • Example: Testing a calculator’s add function
2. Integration Testing: Testing the interaction between combined modules.
  • Performed by: Developer / Tester
  • Focus: Interaction between modules
  • Example: Checking login page connects with database
3. System Testing: Testing the complete software system as a whole.
  • Performed by: Tester
  • Focus: Complete system behavior
  • Example: Testing full application flow (login → dashboard → logout)
4. User Acceptance Testing (UAT): Testing done by users to confirm the software meets their requirements.
  • Performed by: End users / Client
  • Focus: User requirements and expectations
  • Example: Client testing software before final release

Alpha Testing

Definition: Alpha testing is internal testing done before releasing the software to users.
  • Performed by: Developers and testers (inside the organization)
  • Example: Company testers check a mobile app for bugs before public release.

Beta Testing

Definition: Beta testing is testing done by real users in a real environment.
  • Performed by: End users / customers
  • Example: Users test a new app version and report issues before final launch.
One-Line Difference

Alpha testing is done inside the company, while beta testing is done by real users.

Validation – End-to-End Example (Simple & Easy)

Example: Online Shopping Application

1. User logs in
→ Check if user can log in with valid username and password
2. User searches product
→ Verify product list is displayed correctly
3. User adds product to cart
→ Check item is added and price is correct
4. User makes payment
→ Verify payment is processed successfully
5. Order confirmation shown
→ Check order confirmation message/email is received


Comments

Popular posts from this blog

Software Testing Module 1

 Software Testing is a process in which identifying  Completeness, Correctness, Security & Quality of software product takes place. A software Tester must require a very different mindset from a developer. Software Testing means that checking software or a application to make sure that it work properly before people start using it. It helps in application to make it Reliable, Secure with user expectations for Business alignment. The developer only builds the product as per the user needs but the tester need to check or test it from user or customer point of view whether it meets needs of user or not. Software Testing is not just about finding Bugs, its about building trust, delivering excellence, values & a relation, reliable to user experience. What is Software Application? Software Application is a set of programs designed to perform a specific task for a specific user. For example web browsers, MS office, Gmail, Makemytrip and so on the list is never ended. Advantag...

Assignment-1

Assignment-1 1. What is the use of Six Sigma certificate? Ans:-  A Six Sigma certificate is useful for learning how to improve quality and reduce mistakes in any process—whether in software, manufacturing, business, or services. In simple words, Six Sigma teaches you how to do work in a better, faster, and error-free way . Main Uses of a Six Sigma Certificate Helps in Better Career Opportunities Improves Problem-Solving Skills Reduces Errors and Waste Useful in Many Fields Six Sigma Example :  A company uses Six Sigma to reduce defects and improve efficiency in its operations. 2. What is the use of ISO certificate? Ans:- An ISO certificate shows that a company or organization follows international standards for quality, safety, and efficiency in its work. In simple words, it tells customers, This company works in a proper, safe, and trusted way. Main Uses of an ISO Certificate Improves Quality of Products & Services Builds Customer Trust Helps in Getting More Busines...