Software Testing: A Comprehensive Guide by Uzma and Gulnaz, Lecture notes of Finance

An in-depth understanding of software testing, its objectives, different types, and methodologies. The authors, Uzma and Gulnaz, present the concept of software testing as a process to identify errors, bugs, faults, and failures in developed computer software. They discuss various testing methodologies, including black box and white box testing, and testing levels such as unit testing, integration testing, and system testing.

Typology: Lecture notes

2019/2020

Uploaded on 03/28/2020

n-k-1
n-k-1 🇵🇰

4 documents

1 / 28

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c

Partial preview of the text

Download Software Testing: A Comprehensive Guide by Uzma and Gulnaz and more Lecture notes Finance in PDF only on Docsity!

Software TestingSoftware Testing

Presented by “Uzma” & “Gulnaz” MIT first Minhajj University Lahore

OBJECTIVES

 (^) Uncover as many as errors (or bugs) as possible in a given product.

  • (^) Demonstrate a given software product matching its requirement specifications.
  • (^) Validate the quality of a software testing using the minimum cost and efforts.
  • (^) Generate high quality test cases, perform effective tests, and issue correct and helpful problem reports.

Error, Bug, Fault & Failure

Fault :

It is a condition that causes the software to fail to perform its required function.

Failure :

It is the inability of a system or component to perform required function according to its specification

Defect :

Commonly refers to several troubles with the software products, with its external behavior or with its internal features. A defect is said to be detected when a failure is observed. Error, Bug, Fault, Failure $ & Defect

 (^) Standard model used world wide to develop a software.  (^) A framework that describes the activities performed at each stage of a software development project.  (^) Necessary to ensure the quality of the software.  (^) Logical steps taken to develop a software product. SDLC(Software Development Life Cycle)

Project Initiation System Study Summary Reports Analysis Regression Test Report Defects Execute Test Cases ( manual /automated ) Design Test Cases Test Plan

Testing Life Cycle

Test

Plan

It is a systematic approach to test a system i.e. software. The plan typically contains a detailed understanding of what the eventual testing workflow will be.

  • (^) Verification : The software should confirm to its specification (Are we building the product right?)
  • (^) Validation : The software should do what the user really requires (Are we building the right product?)

Verification vs Validation

Testing VS Debugging Debugging is not Testing. Debugging always occurs a consequence of testing. Debugging attempts to find the cause of an error and correct it.

Testing Methodologies White Box Testing Black Box Testing System Testing Usability Testing Static Testing Dynamic Testing Performance Test Walkthrough Unit Testing Code Reviews Integration Testing

Black box testing  (^) No knowledge of internal program design or code required.  (^) Tests are based on requirements and functionality.  (^) (also known as clear box testing, glass box testing, transparent box testing and structural testing) White box testing  (^) Knowledge of the internal program design and code required.  (^) Tests are based on coverage of code statements, branches, paths, conditions.

White box testing

Component

code

Test

outputs

Test data

Tests Derives

Testing Levels

  • Unit testing
  • Integration testing
  • System testing