SlideShare a Scribd company logo
1 of 44
Download to read offline
Boutique product development company
It is amazing what you can accomplish when you have a client-centric team to deliver outstanding products.

Name / Job Role
Software Testing Concepts and Definition
Presented by Naseer Ahmad / Prepared by Sikandar Ahmed
Primary purpose of testing is to detect software
failures, so that defects may be discovered and
corrected.

Items to be covered

• Concepts (Part 1)
• SQA vs Testing
• Test Senario vs Test Cases
• Testing Cycle
• Testing Definitions (Part 2)
• Testing Methods
• Testing Levels
• Testing Types
Software Quality
• Quality software is reasonably bug or defect free, delivered on time
and within budget, meets requirements and/or expectations, and is
maintainable.
• ISO 8402-1986 standard defines quality as “the totality of features and
characteristics of a product or service that bears its ability to satisfy
stated or implied needs.”
• Key aspects of quality for the customer include:
•

Good design – looks and style

•

Good functionality – it does the job well

•

Reliable – acceptable level of breakdowns or failure

•

Consistency

•

Durable – lasts as long as it should

•

Good after sales service

•

Value for money
4
Software Testing
• Software testing is a process of executing a program or application with
the intent of finding the software bugs.
• It can also be stated as the process of validating and verifying that a
software program or application or product:
• Meets the business and technical requirements
• Works as expected

• Can be implemented with the same characteristic.

5
Software Verification
• It makes sure that the product is designed to deliver all functionality to
the customer.
• Verification is done at the starting of the development process. It
includes reviews and meetings, walkthroughs, inspection, etc. to
evaluate documents, plans, code, requirements and specifications.
• It answers the questions like: Am I building the product right? Am I
accessing the data right (in the right place; in the right way).
•

According to the Capability Maturity Model(CMMI-SW v1.1) we can also define verification as the process
of evaluating software to determine whether the products of a given development phase satisfy the
conditions imposed at the start of that phase. [IEEE-STD-610].

6
Software Validation
• Determining if the system complies with the requirements and performs
functions for which it is intended and meets the organization’s goals and
user needs.
• Validation is done at the end of the development process and takes place
after verifications are completed.
• It answers the question like: Am I building the right product? Am I
accessing the right data (in terms of the data required to satisfy the
requirement).

• Performed after a work product is produced against established criteria
ensuring that the product integrates correctly into the environment.
• Determination of correctness of the final software product by a
development project with respect to the user needs and requirements.
•

According to the Capability Maturity Model(CMMI-SW v1.1) we can also define validation as The process of
evaluating software during or at the end of the development process to determine whether it satisfies specified
requirements. [IEEE-STD-610].
7
Basic Testing Cycle
• Requirements Analysis
• Test Planning
• Test Development

• Test Execution
• Test Reporting
• Test Result Analysis
• Defect Retesting
• Regression Testing
• Test Closure
8
Testing Methods
There are several approaches / techniques of Software
Testing

9
Testing Methods
•
•
•
•
•

Static
Dynamic
Black Box
White Box
Visual (GUI)

10
Testing Methods (Cont.)
Static Testing:
• Static testing is the testing of the software work products
manually, or with a set of tools, but they are not executed.
• It starts early in the Life cycle and so it is done during the
verification process.
• It does not need computer as the testing of program is done
without executing the program. For example: reviewing, walk
through, inspection, etc.

11
Testing Methods (Cont.)
Dynamic Testing:
• Dynamic testing is the testing of the dynamic behaviour of
code.
• It involves working with the software, giving input values and
checking if the output is as expected by executing
specific test cases which can be done manually or with the
use of an automated process.
• It is done during Validation process.
• The software is tested by executing it on computer. Ex: Unit
testing, integration testing, system testing.

12
Testing Methods (Cont.)
Black Box Testing:
• Black-box testing treats the software as a "black box",
examining functionality without any knowledge of internal
implementation.
• The tester is only aware of what the software is supposed to
do, not how it does it.
• It also known as Specification-based testing technique or
input/output driven testing techniques because they view the
software as a black-box with inputs and outputs.
13
Testing Methods (Cont.)
White Box Testing:
• White-box testing tests internal structures or workings of a
program
• It is also know as Structure-based or ‘glass-box’ testing
technique because here the testers require knowledge of
how the software is implemented, how it works.
• In white-box testing the tester is concentrating on how the
software does it.

14
Testing Methods (Cont.)
Visual (GUI) Testing:
• GUI testing is the process of testing a product's graphical
user interface to ensure it meets its written specifications like
testing images and buttons alignment on any webpage.

15
Testing Levels
Each phase of SDLC goes through the testing. Hence there
are various levels of testing.

16
Testing Levels
• Unit Testing
• Component Testing
• Integration Testing
• System Testing
• Acceptance Testing
• Alpha Testing
• Beta Testing

17
Testing Levels (Cont.)
Unit Testing:
• Unit testing is a method by which individual units of source
code together with associated control data are tested to
determine if they are fit for use.
• A unit is the smallest testable part of an application like
functions/procedures, classes, interfaces.
• Unit tests are typically written and run by software developers
to ensure that code meets its design and behaves as
intended.
18
Testing Levels (Cont.)
Component Testing:
• Component testing is also known as module and program
testing.
• Component testing is the phase in which individual software
modules are tested to find defects in the module and verifies
the functioning of software Module.
• Component testing may be done in isolation from rest of the
system depending on the development life cycle model
chosen for that particular application.
19
Testing Levels (Cont.)
Integration Testing:
• Integration testing is the phase in which individual software
modules are combined and tested as a group to make verify
integrated system is ready for system testing.
• It occurs after unit testing and before validation testing.
• Integration testing is done by a specific integration tester or
test team.

20
Testing Levels (Cont.)
System Testing:
• System testing is conducted on a complete, integrated
system to evaluate the system's compliance with its specified
requirements.
• System testing falls within the scope of black box testing, and
as such, should require no knowledge of the inner design of
the code or logic.
• System testing is most often the final test to verify that the
system to be delivered meets the specification and its
purpose.

• System testing should investigate both functional and nonfunctional requirements of the testing.
21
Testing Levels (Cont.)
Acceptance Testing:
• After the system test has corrected all or most defects, the
system will be delivered to the user or customer for
acceptance testing.
• Acceptance testing is a test conducted to determine if the
requirements of a specification or contract are met prior to its
delivery.
• Acceptance testing is basically done by the user or customer
although other stakeholders may be involved as well.
22
Testing Levels (Cont.)
Alpha Testing:

• Alpha testing is simulated or actual operational testing by
potential users/customers or an independent test team at the
developers' site.

• Alpha testing is often employed for off-the-shelf software as a
form of internal acceptance testing, before the software goes to
beta testing.

• This test takes place at the developer’s site.
23
Testing Levels (Cont.)
Beta Testing:

• It is also known as field testing. It takes place at customer’s site.

• It sends the system to users who install it and use it under realworld working conditions.
• A beta test is the second phase of software testing in which a
sampling of the intended audience tries the product out.
• Versions of the software, known as beta versions, are released
to a limited audience outside of the programming team.

24
Testing Types
A test type is focused on a particular test objective

25
Testing Types (Cont.)
Functional Testing:
Functional testing refers to activities that verify a specific action or
function of the code.

Functional tests tend to answer the question of "can the user do this"
or "does this particular feature work."

Non Functional Testing:
Non-functional testing refers to aspects of the software that may not
be related to a specific function or user action, such as scalability or
other performance, behavior under certain constraints, or security.
26
Testing Types (Cont.)
Functional Testing

Non Functional

• Installation

• Compatibility

• Development

• Performance

• Usability

• Security

• Sanity

• Accessibility

• Smoke

• Internationalization /
Localization

• Regression
• Destructive

• Recovery
• Automated
• User Acceptance

27
Testing Types (Cont.)
Installation Testing:
• Installation testing focuses on what customers will need to do to
install and set up the new software successfully.

• The testing process may involve full, partial or upgrades
install/uninstall processes.
• This testing is typically done by the software test engineer in
conjunction with the configuration manager.

28
Testing Types (Cont.)
Development Testing:
• Development Testing is a software development process that
involves synchronized application of a broad spectrum of defect
prevention and detection strategies in order to reduce software
development risks, time, and costs.
• It is performed by the software developer or engineer during the
construction phase of the software development lifecycle.
• Development Testing might include static code analysis, data flow
analysis metrics analysis, peer code reviews, unit testing, code
coverage analysis, traceability, and other software verification
practices.
29
Testing Types (Cont.)
Usability Testing:
• Usability testing is a technique used in user-centered interaction
design to evaluate a product by testing it on users.

• This can be seen as an irreplaceable usability practice, since it
gives direct input on how real users use the system.
• Usability testing generally involves measuring how well test
subjects respond in four areas: efficiency, accuracy, recall, and
emotional response.

30
Testing Types (Cont.)
Sanity Testing:
• The sanity test which offers quick, broad, and shallow testing
determines whether it is possible and reasonable to proceed with
further testing.
• If the sanity test fails, it is not reasonable to attempt more rigorous
testing.

• Sanity tests are ways to avoid wasting time and effort by quickly
determining whether an application is too flawed to merit any
rigorous testing.

31
Testing Types (Cont.)
Smoke Testing:
• Smoke testing is preliminary testing to reveal simple failures severe
enough to reject a prospective software release e.g. smoke test may
ask basic questions like "Does the program run?", "Does it open a
window?”
• The purpose is to determine whether the application is so badly broken
that further testing is unnecessary.
• Smoke testing performed on a particular build is also known as a build
verification test.
• Smoke testing is done by developers and testers both.
• A smoke test is used as an acceptance test prior to introducing a new
build to the main testing process.
32
Testing Types (Cont.)
Regression Testing:
• Regression testing is a type of software testing that seeks to
uncover new software bugs, or regressions, in existing areas of a
system after changes (such as enhancements, patches or
configuration changes) have been made to them.
• Common methods of regression testing include rerunning
previously completed tests and checking whether program behavior
has changed and whether previously fixed faults have re-emerged.

33
Testing Types (Cont.)
Destructive Testing:
• Destructive software testing which attempts to cause a piece of
software to fail in an uncontrolled manner, in order to test its
robustness.
• It verifies that the software functions properly even when it receives
invalid or unexpected inputs, thereby establishing the robustness of
input validation and error-management routines.

34
Testing Types (Cont.)
Recovery Testing:
• Recovery testing is the activity of testing how well an application is
able to recover from crashes, hardware failures and other similar
problems.
• E.g. While an application is receiving data from a network, unplug
the connecting cable. After some time, plug the cable back in and
analyze the application's ability to continue receiving data from the
point at which the network connection disappeared.

35
Testing Types (Cont.)
Automated Testing:
• Test automation is the use of special software (separate from the
software being tested) to control the execution of tests and the
comparison of actual outcomes to predicted outcomes.
• Test automation can automate some repetitive but necessary tasks
in a formalized testing process already in place, or add additional
testing that would be difficult to perform manually.

36
Testing Types (Cont.)
User Acceptance Testing:
• User acceptance testing (UAT) consists of a process of verifying
that a solution works for the user.

• It is not system testing, but rather is there to ensure that the
solution will work for the user i.e. test the user accepts the
solution.

37
Testing Types (Cont.)
Compatibility Testing:
• Compatibility testing, part of software non-functional tests, is testing
conducted on the application to evaluate the application's
compatibility with the computing environment.
• Computing environment may contain different OS types (IOS 6, IOS
7), different types of browsers (Chrome, Firefox, IE).

38
Testing Types (Cont.)
Performance Testing:
• Performance testing is generally executed to determine how a system
or sub-system performs in terms of responsiveness and stability under
a particular workload.
• It can also serve to investigate measure, validate or verify other quality
attributes of the system, such as scalability, reliability and resource
usage.
• Load Testing is a testing that the system can continue to operate under a specific
load, whether that be large quantities of data or a large number of users. This is
generally referred to as software scalability.
• Volume testing is a way to test software functions even when certain components
(for example a file or database) increase radically in size.
• Stress testing is a testing beyond normal operational capacity, often to a breaking
point, in order to observe the results. It is a form of software testing that is used to
determine the stability of a given system.
39
Testing Types (Cont.)
Security Testing:
• Security testing is a process to determine that an information
system protects data and maintains functionality as intended.

• The six basic security concepts that need to be covered by security
testing are:
• Confidentiality

• Integrity
• Authentication
• Availability

• Authorization
• non-repudiation.
40
Testing Types (Cont.)
Accessibility Testing:
• Accessibility is the degree to which a product, device, service, or
environment is available to as many people as possible.

• This testing may include compliance with standards such as World
Wide Web Consortium (W3C).
• Accessibility is not to be confused with usability

41
Testing Types (Cont.)
Internationalization and localization Testing:
• Internationalization and localization are means of
adapting computer applications to different languages, regional
differences and technical requirements of a target market.
• Internationalization is the process of designing a software
application so that it can be adapted to various languages and
regions without engineering changes.
• Localization is the process of adapting internationalized software
for a specific region or language by adding locale-specific
components and translating text.

42
References
Institute of Software Testing Qualifications Board
http://istqbexamcertification.com/
ISO/IEEE Standards
http://standards.ieee.org/findstds/standard/29119-1-2013.html
http://www.softwaretestingstandard.org/

QAI Global Institute
http://www.qaiusa.com/
Wikipedia:
http://en.wikipedia.org/wiki/Software_testing
43
Thank You

44

More Related Content

What's hot

Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
Komal Garg
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
Raghu Kiran
 

What's hot (20)

Types of testing
Types of testingTypes of testing
Types of testing
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
Unit testing
Unit testing Unit testing
Unit testing
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
Software testing
Software testingSoftware testing
Software testing
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
 
3.software testing
3.software testing3.software testing
3.software testing
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Testing
TestingTesting
Testing
 
Types of testing
Types of testingTypes of testing
Types of testing
 
Software testing
Software testing Software testing
Software testing
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Understanding Unit Testing
Understanding Unit TestingUnderstanding Unit Testing
Understanding Unit Testing
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 

Viewers also liked

Stages of test development and common test techniques (1)
Stages of test development and common test techniques (1)Stages of test development and common test techniques (1)
Stages of test development and common test techniques (1)
Maury Martinez
 
New software testing-techniques
New software testing-techniquesNew software testing-techniques
New software testing-techniques
Fincy V.J
 
USER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPTUSER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPT
vicci4041
 
User Interface Design in Software Engineering SE15
User Interface Design in Software Engineering SE15User Interface Design in Software Engineering SE15
User Interface Design in Software Engineering SE15
koolkampus
 
User interface design: definitions, processes and principles
User interface design: definitions, processes and principlesUser interface design: definitions, processes and principles
User interface design: definitions, processes and principles
David Little
 

Viewers also liked (20)

Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Testing techniques
Testing techniquesTesting techniques
Testing techniques
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
 
One Website, All the Languages
One Website, All the LanguagesOne Website, All the Languages
One Website, All the Languages
 
Non destructive testing ppt
Non destructive testing pptNon destructive testing ppt
Non destructive testing ppt
 
Unit1
Unit1Unit1
Unit1
 
Stages of test development and common test techniques (1)
Stages of test development and common test techniques (1)Stages of test development and common test techniques (1)
Stages of test development and common test techniques (1)
 
7 stages of unit testing
7 stages of unit testing7 stages of unit testing
7 stages of unit testing
 
Stages of test development
Stages of test developmentStages of test development
Stages of test development
 
Boundary and equivalnce systematic test design
Boundary and equivalnce   systematic test designBoundary and equivalnce   systematic test design
Boundary and equivalnce systematic test design
 
New software testing-techniques
New software testing-techniquesNew software testing-techniques
New software testing-techniques
 
Test Process
Test ProcessTest Process
Test Process
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
USER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPTUSER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPT
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisEquivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysis
 
Boundary value analysis
Boundary value analysisBoundary value analysis
Boundary value analysis
 
User Interface Design in Software Engineering SE15
User Interface Design in Software Engineering SE15User Interface Design in Software Engineering SE15
User Interface Design in Software Engineering SE15
 
Lecture 7 Software Engineering and Design User Interface Design
Lecture 7 Software Engineering and Design User Interface Design Lecture 7 Software Engineering and Design User Interface Design
Lecture 7 Software Engineering and Design User Interface Design
 
User Interface Design
User Interface DesignUser Interface Design
User Interface Design
 
User interface design: definitions, processes and principles
User interface design: definitions, processes and principlesUser interface design: definitions, processes and principles
User interface design: definitions, processes and principles
 

Similar to Software testing methods, levels and types

Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146
vidhyyav
 

Similar to Software testing methods, levels and types (20)

Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
SDLCTesting
SDLCTestingSDLCTesting
SDLCTesting
 
Different Types Of Testing
Different Types Of TestingDifferent Types Of Testing
Different Types Of Testing
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software testing
Software testingSoftware testing
Software testing
 
Solution Evaluation (BA Role)
Solution Evaluation (BA Role)   Solution Evaluation (BA Role)
Solution Evaluation (BA Role)
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
software testing
software testing software testing
software testing
 
Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slides
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptx
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 
software testing
 software testing software testing
software testing
 
Manual Testing software testing all slide
Manual Testing software testing all slideManual Testing software testing all slide
Manual Testing software testing all slide
 
Software testing
Software testingSoftware testing
Software testing
 

More from Confiz

DMAIC-Six sigma process Improvement Approach
DMAIC-Six sigma process Improvement ApproachDMAIC-Six sigma process Improvement Approach
DMAIC-Six sigma process Improvement Approach
Confiz
 
What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.
Confiz
 
Sqa, test scenarios and test cases
Sqa, test scenarios and test casesSqa, test scenarios and test cases
Sqa, test scenarios and test cases
Confiz
 
Entity framework code first
Entity framework code firstEntity framework code first
Entity framework code first
Confiz
 
Security testing presentation
Security testing presentationSecurity testing presentation
Security testing presentation
Confiz
 
Ts seo t ech session
Ts   seo t ech sessionTs   seo t ech session
Ts seo t ech session
Confiz
 
Learning as a creative professional
Learning as a creative professionalLearning as a creative professional
Learning as a creative professional
Confiz
 
Learning as a creative professional
Learning as a creative professionalLearning as a creative professional
Learning as a creative professional
Confiz
 
Ts archiving
Ts   archivingTs   archiving
Ts archiving
Confiz
 
Advance text rendering in i os
Advance text rendering in i osAdvance text rendering in i os
Advance text rendering in i os
Confiz
 
Ts threading
Ts   threadingTs   threading
Ts threading
Confiz
 
Ts android supporting multiple screen
Ts   android supporting multiple screenTs   android supporting multiple screen
Ts android supporting multiple screen
Confiz
 
Ts drupal6 module development v0.2
Ts   drupal6 module development v0.2Ts   drupal6 module development v0.2
Ts drupal6 module development v0.2
Confiz
 
Photoshop manners
Photoshop mannersPhotoshop manners
Photoshop manners
Confiz
 
Monkey talk
Monkey talkMonkey talk
Monkey talk
Confiz
 
An insight to microsoft platform
An insight to microsoft platformAn insight to microsoft platform
An insight to microsoft platform
Confiz
 
Ts branching over the top
Ts   branching over the topTs   branching over the top
Ts branching over the top
Confiz
 

More from Confiz (20)

Agile training workshop
Agile training workshopAgile training workshop
Agile training workshop
 
Web services with laravel
Web services with laravelWeb services with laravel
Web services with laravel
 
DMAIC-Six sigma process Improvement Approach
DMAIC-Six sigma process Improvement ApproachDMAIC-Six sigma process Improvement Approach
DMAIC-Six sigma process Improvement Approach
 
What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.
 
Sqa, test scenarios and test cases
Sqa, test scenarios and test casesSqa, test scenarios and test cases
Sqa, test scenarios and test cases
 
Solid principles of oo design
Solid principles of oo designSolid principles of oo design
Solid principles of oo design
 
Entity framework code first
Entity framework code firstEntity framework code first
Entity framework code first
 
Security testing presentation
Security testing presentationSecurity testing presentation
Security testing presentation
 
Ts seo t ech session
Ts   seo t ech sessionTs   seo t ech session
Ts seo t ech session
 
Learning as a creative professional
Learning as a creative professionalLearning as a creative professional
Learning as a creative professional
 
Learning as a creative professional
Learning as a creative professionalLearning as a creative professional
Learning as a creative professional
 
Ts archiving
Ts   archivingTs   archiving
Ts archiving
 
Advance text rendering in i os
Advance text rendering in i osAdvance text rendering in i os
Advance text rendering in i os
 
Ts threading
Ts   threadingTs   threading
Ts threading
 
Ts android supporting multiple screen
Ts   android supporting multiple screenTs   android supporting multiple screen
Ts android supporting multiple screen
 
Ts drupal6 module development v0.2
Ts   drupal6 module development v0.2Ts   drupal6 module development v0.2
Ts drupal6 module development v0.2
 
Photoshop manners
Photoshop mannersPhotoshop manners
Photoshop manners
 
Monkey talk
Monkey talkMonkey talk
Monkey talk
 
An insight to microsoft platform
An insight to microsoft platformAn insight to microsoft platform
An insight to microsoft platform
 
Ts branching over the top
Ts   branching over the topTs   branching over the top
Ts branching over the top
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Software testing methods, levels and types

  • 1. Boutique product development company It is amazing what you can accomplish when you have a client-centric team to deliver outstanding products. Name / Job Role
  • 2. Software Testing Concepts and Definition Presented by Naseer Ahmad / Prepared by Sikandar Ahmed
  • 3. Primary purpose of testing is to detect software failures, so that defects may be discovered and corrected. Items to be covered • Concepts (Part 1) • SQA vs Testing • Test Senario vs Test Cases • Testing Cycle • Testing Definitions (Part 2) • Testing Methods • Testing Levels • Testing Types
  • 4. Software Quality • Quality software is reasonably bug or defect free, delivered on time and within budget, meets requirements and/or expectations, and is maintainable. • ISO 8402-1986 standard defines quality as “the totality of features and characteristics of a product or service that bears its ability to satisfy stated or implied needs.” • Key aspects of quality for the customer include: • Good design – looks and style • Good functionality – it does the job well • Reliable – acceptable level of breakdowns or failure • Consistency • Durable – lasts as long as it should • Good after sales service • Value for money 4
  • 5. Software Testing • Software testing is a process of executing a program or application with the intent of finding the software bugs. • It can also be stated as the process of validating and verifying that a software program or application or product: • Meets the business and technical requirements • Works as expected • Can be implemented with the same characteristic. 5
  • 6. Software Verification • It makes sure that the product is designed to deliver all functionality to the customer. • Verification is done at the starting of the development process. It includes reviews and meetings, walkthroughs, inspection, etc. to evaluate documents, plans, code, requirements and specifications. • It answers the questions like: Am I building the product right? Am I accessing the data right (in the right place; in the right way). • According to the Capability Maturity Model(CMMI-SW v1.1) we can also define verification as the process of evaluating software to determine whether the products of a given development phase satisfy the conditions imposed at the start of that phase. [IEEE-STD-610]. 6
  • 7. Software Validation • Determining if the system complies with the requirements and performs functions for which it is intended and meets the organization’s goals and user needs. • Validation is done at the end of the development process and takes place after verifications are completed. • It answers the question like: Am I building the right product? Am I accessing the right data (in terms of the data required to satisfy the requirement). • Performed after a work product is produced against established criteria ensuring that the product integrates correctly into the environment. • Determination of correctness of the final software product by a development project with respect to the user needs and requirements. • According to the Capability Maturity Model(CMMI-SW v1.1) we can also define validation as The process of evaluating software during or at the end of the development process to determine whether it satisfies specified requirements. [IEEE-STD-610]. 7
  • 8. Basic Testing Cycle • Requirements Analysis • Test Planning • Test Development • Test Execution • Test Reporting • Test Result Analysis • Defect Retesting • Regression Testing • Test Closure 8
  • 9. Testing Methods There are several approaches / techniques of Software Testing 9
  • 11. Testing Methods (Cont.) Static Testing: • Static testing is the testing of the software work products manually, or with a set of tools, but they are not executed. • It starts early in the Life cycle and so it is done during the verification process. • It does not need computer as the testing of program is done without executing the program. For example: reviewing, walk through, inspection, etc. 11
  • 12. Testing Methods (Cont.) Dynamic Testing: • Dynamic testing is the testing of the dynamic behaviour of code. • It involves working with the software, giving input values and checking if the output is as expected by executing specific test cases which can be done manually or with the use of an automated process. • It is done during Validation process. • The software is tested by executing it on computer. Ex: Unit testing, integration testing, system testing. 12
  • 13. Testing Methods (Cont.) Black Box Testing: • Black-box testing treats the software as a "black box", examining functionality without any knowledge of internal implementation. • The tester is only aware of what the software is supposed to do, not how it does it. • It also known as Specification-based testing technique or input/output driven testing techniques because they view the software as a black-box with inputs and outputs. 13
  • 14. Testing Methods (Cont.) White Box Testing: • White-box testing tests internal structures or workings of a program • It is also know as Structure-based or ‘glass-box’ testing technique because here the testers require knowledge of how the software is implemented, how it works. • In white-box testing the tester is concentrating on how the software does it. 14
  • 15. Testing Methods (Cont.) Visual (GUI) Testing: • GUI testing is the process of testing a product's graphical user interface to ensure it meets its written specifications like testing images and buttons alignment on any webpage. 15
  • 16. Testing Levels Each phase of SDLC goes through the testing. Hence there are various levels of testing. 16
  • 17. Testing Levels • Unit Testing • Component Testing • Integration Testing • System Testing • Acceptance Testing • Alpha Testing • Beta Testing 17
  • 18. Testing Levels (Cont.) Unit Testing: • Unit testing is a method by which individual units of source code together with associated control data are tested to determine if they are fit for use. • A unit is the smallest testable part of an application like functions/procedures, classes, interfaces. • Unit tests are typically written and run by software developers to ensure that code meets its design and behaves as intended. 18
  • 19. Testing Levels (Cont.) Component Testing: • Component testing is also known as module and program testing. • Component testing is the phase in which individual software modules are tested to find defects in the module and verifies the functioning of software Module. • Component testing may be done in isolation from rest of the system depending on the development life cycle model chosen for that particular application. 19
  • 20. Testing Levels (Cont.) Integration Testing: • Integration testing is the phase in which individual software modules are combined and tested as a group to make verify integrated system is ready for system testing. • It occurs after unit testing and before validation testing. • Integration testing is done by a specific integration tester or test team. 20
  • 21. Testing Levels (Cont.) System Testing: • System testing is conducted on a complete, integrated system to evaluate the system's compliance with its specified requirements. • System testing falls within the scope of black box testing, and as such, should require no knowledge of the inner design of the code or logic. • System testing is most often the final test to verify that the system to be delivered meets the specification and its purpose. • System testing should investigate both functional and nonfunctional requirements of the testing. 21
  • 22. Testing Levels (Cont.) Acceptance Testing: • After the system test has corrected all or most defects, the system will be delivered to the user or customer for acceptance testing. • Acceptance testing is a test conducted to determine if the requirements of a specification or contract are met prior to its delivery. • Acceptance testing is basically done by the user or customer although other stakeholders may be involved as well. 22
  • 23. Testing Levels (Cont.) Alpha Testing: • Alpha testing is simulated or actual operational testing by potential users/customers or an independent test team at the developers' site. • Alpha testing is often employed for off-the-shelf software as a form of internal acceptance testing, before the software goes to beta testing. • This test takes place at the developer’s site. 23
  • 24. Testing Levels (Cont.) Beta Testing: • It is also known as field testing. It takes place at customer’s site. • It sends the system to users who install it and use it under realworld working conditions. • A beta test is the second phase of software testing in which a sampling of the intended audience tries the product out. • Versions of the software, known as beta versions, are released to a limited audience outside of the programming team. 24
  • 25. Testing Types A test type is focused on a particular test objective 25
  • 26. Testing Types (Cont.) Functional Testing: Functional testing refers to activities that verify a specific action or function of the code. Functional tests tend to answer the question of "can the user do this" or "does this particular feature work." Non Functional Testing: Non-functional testing refers to aspects of the software that may not be related to a specific function or user action, such as scalability or other performance, behavior under certain constraints, or security. 26
  • 27. Testing Types (Cont.) Functional Testing Non Functional • Installation • Compatibility • Development • Performance • Usability • Security • Sanity • Accessibility • Smoke • Internationalization / Localization • Regression • Destructive • Recovery • Automated • User Acceptance 27
  • 28. Testing Types (Cont.) Installation Testing: • Installation testing focuses on what customers will need to do to install and set up the new software successfully. • The testing process may involve full, partial or upgrades install/uninstall processes. • This testing is typically done by the software test engineer in conjunction with the configuration manager. 28
  • 29. Testing Types (Cont.) Development Testing: • Development Testing is a software development process that involves synchronized application of a broad spectrum of defect prevention and detection strategies in order to reduce software development risks, time, and costs. • It is performed by the software developer or engineer during the construction phase of the software development lifecycle. • Development Testing might include static code analysis, data flow analysis metrics analysis, peer code reviews, unit testing, code coverage analysis, traceability, and other software verification practices. 29
  • 30. Testing Types (Cont.) Usability Testing: • Usability testing is a technique used in user-centered interaction design to evaluate a product by testing it on users. • This can be seen as an irreplaceable usability practice, since it gives direct input on how real users use the system. • Usability testing generally involves measuring how well test subjects respond in four areas: efficiency, accuracy, recall, and emotional response. 30
  • 31. Testing Types (Cont.) Sanity Testing: • The sanity test which offers quick, broad, and shallow testing determines whether it is possible and reasonable to proceed with further testing. • If the sanity test fails, it is not reasonable to attempt more rigorous testing. • Sanity tests are ways to avoid wasting time and effort by quickly determining whether an application is too flawed to merit any rigorous testing. 31
  • 32. Testing Types (Cont.) Smoke Testing: • Smoke testing is preliminary testing to reveal simple failures severe enough to reject a prospective software release e.g. smoke test may ask basic questions like "Does the program run?", "Does it open a window?” • The purpose is to determine whether the application is so badly broken that further testing is unnecessary. • Smoke testing performed on a particular build is also known as a build verification test. • Smoke testing is done by developers and testers both. • A smoke test is used as an acceptance test prior to introducing a new build to the main testing process. 32
  • 33. Testing Types (Cont.) Regression Testing: • Regression testing is a type of software testing that seeks to uncover new software bugs, or regressions, in existing areas of a system after changes (such as enhancements, patches or configuration changes) have been made to them. • Common methods of regression testing include rerunning previously completed tests and checking whether program behavior has changed and whether previously fixed faults have re-emerged. 33
  • 34. Testing Types (Cont.) Destructive Testing: • Destructive software testing which attempts to cause a piece of software to fail in an uncontrolled manner, in order to test its robustness. • It verifies that the software functions properly even when it receives invalid or unexpected inputs, thereby establishing the robustness of input validation and error-management routines. 34
  • 35. Testing Types (Cont.) Recovery Testing: • Recovery testing is the activity of testing how well an application is able to recover from crashes, hardware failures and other similar problems. • E.g. While an application is receiving data from a network, unplug the connecting cable. After some time, plug the cable back in and analyze the application's ability to continue receiving data from the point at which the network connection disappeared. 35
  • 36. Testing Types (Cont.) Automated Testing: • Test automation is the use of special software (separate from the software being tested) to control the execution of tests and the comparison of actual outcomes to predicted outcomes. • Test automation can automate some repetitive but necessary tasks in a formalized testing process already in place, or add additional testing that would be difficult to perform manually. 36
  • 37. Testing Types (Cont.) User Acceptance Testing: • User acceptance testing (UAT) consists of a process of verifying that a solution works for the user. • It is not system testing, but rather is there to ensure that the solution will work for the user i.e. test the user accepts the solution. 37
  • 38. Testing Types (Cont.) Compatibility Testing: • Compatibility testing, part of software non-functional tests, is testing conducted on the application to evaluate the application's compatibility with the computing environment. • Computing environment may contain different OS types (IOS 6, IOS 7), different types of browsers (Chrome, Firefox, IE). 38
  • 39. Testing Types (Cont.) Performance Testing: • Performance testing is generally executed to determine how a system or sub-system performs in terms of responsiveness and stability under a particular workload. • It can also serve to investigate measure, validate or verify other quality attributes of the system, such as scalability, reliability and resource usage. • Load Testing is a testing that the system can continue to operate under a specific load, whether that be large quantities of data or a large number of users. This is generally referred to as software scalability. • Volume testing is a way to test software functions even when certain components (for example a file or database) increase radically in size. • Stress testing is a testing beyond normal operational capacity, often to a breaking point, in order to observe the results. It is a form of software testing that is used to determine the stability of a given system. 39
  • 40. Testing Types (Cont.) Security Testing: • Security testing is a process to determine that an information system protects data and maintains functionality as intended. • The six basic security concepts that need to be covered by security testing are: • Confidentiality • Integrity • Authentication • Availability • Authorization • non-repudiation. 40
  • 41. Testing Types (Cont.) Accessibility Testing: • Accessibility is the degree to which a product, device, service, or environment is available to as many people as possible. • This testing may include compliance with standards such as World Wide Web Consortium (W3C). • Accessibility is not to be confused with usability 41
  • 42. Testing Types (Cont.) Internationalization and localization Testing: • Internationalization and localization are means of adapting computer applications to different languages, regional differences and technical requirements of a target market. • Internationalization is the process of designing a software application so that it can be adapted to various languages and regions without engineering changes. • Localization is the process of adapting internationalized software for a specific region or language by adding locale-specific components and translating text. 42
  • 43. References Institute of Software Testing Qualifications Board http://istqbexamcertification.com/ ISO/IEEE Standards http://standards.ieee.org/findstds/standard/29119-1-2013.html http://www.softwaretestingstandard.org/ QAI Global Institute http://www.qaiusa.com/ Wikipedia: http://en.wikipedia.org/wiki/Software_testing 43