UNIT 2 TESTING TECHNIQUES Testing begins with a proposal for software/system application development/maintenance and end with the system is formally accepted.

Slides:



Advertisements
Similar presentations
SOFTWARE TESTING. Software Testing Principles Types of software tests Test planning Test Development Test Execution and Reporting Test tools and Methods.
Advertisements

Presentation by Prabhjot Singh
1 Integration Testing CS 4311 I. Burnstein. Practical Software Testing, Springer-Verlag, 2003.
Software Testing 3 Damian Gordon.
1 Software Processes A Software process is a set of activities and associated results which lead to the production of a software product. Activities Common.
Integration testing Satish Mishra
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Unit 251 Implementation and Integration Implementation Unit Testing Integration Integration Approaches.
Software Testing and Quality Assurance
1 Software Testing and Quality Assurance Lecture 30 - Introduction to Software Testing.
Illinois Institute of Technology
The Design Process. Analysis Think – what should the final design do? List customer requirements Consider constraints – balance tradeoffs Define specifications.
Software Testing & Strategies
Software Engineering Lecture 13 Software Testing Strategies 1.
Software Process Activities. Process activities Real software processes are inter-leaved sequences of technical, collaborative and managerial activities.
Software System Integration
BY RAJESWARI S SOFTWARE TESTING. INTRODUCTION Software testing is the process of testing the software product. Effective software testing will contribute.
1 Structured Analysis Techniques. 2 Data Flow Diagrams.
Extreme Programming Software Development Written by Sanjay Kumar.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
CSI315 Web Applications and Technology Overview of Systems Development (342)
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Chapter 7 Unit Testing & Integration Testing Software Testing By Wararat Songpan(Rungworawut),PH.D. Department of Computer Science, Faculty of.
University of Palestine software engineering department Testing of Software Systems Testing throughout the software life cycle instructor: Tasneem.
INT-Evry (Masters IT– Soft Eng)IntegrationTesting.1 (OO) Integration Testing What: Integration testing is a phase of software testing in which.
 CS 5380 Software Engineering Chapter 2 – Software Processes Chapter 2 Software Processes1.
1 Chapter 7 Software Testing Strategies. 2 Software Testing Testing is the process of exercising a program with the specific intent of finding errors.
These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman.1.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Software Testing The process of operating a system or component under specified conditions, observing and recording the results, and making an evaluation.
SoftwareTest Organisation TESTTORG The role of testing in the software life cycle Verification and Validation Goals of Testing Test work distribution Test.
TESTING LEVELS Unit Testing Integration Testing System Testing Acceptance Testing.
Software Testing Process By: M. Muzaffar Hameed.
Chapter 7 Implementation. Implementation Approaches F Big bang –Code entire system and test in an unstructured manner F Top-down –Start by implementing.
Software Engineering Saeed Akhtar The University of Lahore.
Integration testing Integrate two or more module.i.e. communicate between the modules. Follow a white box testing (Testing the code)
1 Software Testing Strategies: Approaches, Issues, Testing Tools.
What is a level of test?  Defined by a given Environment  Environment is a collection of people, hard ware, software, interfaces, data etc.
Requirements Analysis
Software Engineering By Germaine Cheung Hong Kong Computer Institute Lecture 7.
Software Engineering Lecture 10: System Engineering.
SOFTWARE TESTING LECTURE 9. OBSERVATIONS ABOUT TESTING “ Testing is the process of executing a program with the intention of finding errors. ” – Myers.
Testing i. explain the importance of system testing and installation planning;
 The processes used for RE vary widely depending on the application domain, the people involved and the organisation developing the requirements.  However,
Advanced Higher Computing Science
CSE784 – Software Studio Jim Fawcett Fall 2002.
Software Testing Strategies for building test group
Software Testing.
PREPARED BY G.VIJAYA KUMAR ASST.PROFESSOR
Integration Testing.
TESTING TOOLS MANUAL APPROACH BY J.ADI SESHU.
Software Testing Techniques
Chapter ? Quality Assessment
Quality Management Perfectqaservices.
CSE784 – Software Studio Jim Fawcett Fall 2006.
Classical Waterfall Model
Life Cycle Models PPT By :Dr. R. Mall.
Chapter 18 Software Testing Strategies
CHAPTER 2 Testing Throughout the Software Life Cycle
Software Quality Engineering
The Design Process.
Software System Integration
Verification and Validation Unit Testing
Software life cycle models
Chapter 10 – Software Testing
MANAGING THE DEVELOPMENT AND PURCHASE OF INFORMATION SYSTEMS
Software System Integration
TYPES OF TESTING.
Integration Testing.
Chapter 13 & 14 Software Testing Strategies and Techniques 1 Software Engineering: A Practitioner’s Approach, 6th edition by Roger S. Pressman.
Presentation transcript:

UNIT 2 TESTING TECHNIQUES Testing begins with a proposal for software/system application development/maintenance and end with the system is formally accepted by the user/customer

Proposal Testing A Proposal is made to the customer on the basis of Request for Proposal(RFP) or Request for Quotation(RFQ) Any proposal prepared in response to such request is reviewed by organisation before sending it to the customer. Technical review –Technical feasibility, Overall approach Commercial Review- financial feasibility Validation of Proposal – development of prototype or proof of concept

Requirements Testing Requirements creation involves gathering of requirements and arranging them in a form to verify and validate them. Clarity Complete Measurable Testable Not Conflicting Identifiable Validation of Requirements – writing use cases

Design Testing The System Architect starts with system high level architectural designing Clarity Complete Traceable Implementable Testable Validation of design – creation DFD, activity diagrams, information flow diagram and state transition. Flow interrupted – design is not complete

Code Review Reviewing code files, databases, classes and methods. Clarity Complete Traceable Maintainable

Unit Testing Smallest part of a software system which is testable Individual units and components Throwaway drivers and stubs Debugger mode to find how variables are changed during execution- not termed as Black box testing Gray Box testing – code details with its functioning Derived from use cases

Difference between Debugging and Testing DebuggingTesting Code checking to locate the cause of defect Checks the defect Code may be updatedCorrections are not involved Test cases are not definedTest cases are defined Cover only positive casesPositive as well as negative cases

Module Testing Many units come together and form a module Stub/driver This testing is done on related unit tested components to find whether individually tested units can work together as a module or not. Test cases must be traceable

Integration Testing Integration testing involves integration of units to make a module of modules to make a system. The objective is to take unit tested components and build a program structure that has been dictated by design.

10 Bottom-Up Testing Begins construction and testing with atomic modules (lowest level in hierarchy) drivers are replaced one at a time, "depth first" worker modules are grouped into builds and integrated A B C DE FG cluster

Bottom up approach is Suitable for Object Oriented design. Low level Components Stubs/Drivers: These are Special Purpose arrangements to test the units individually Stub: A Piece of Code emulating a called function Driver: A piece of code emulating a calling function

Advantages Tested first for its correctness and if is working correctly, then only it goes for further integration Robust Incremental Integration testing- Individual components are tested Disadvantages Top level components are more important which is tested at the last