Semester 1, 2003 Week 7 CSE9020 / 1 Software Testing and Quality Assurance With thanks to Shonali Krishnaswamy and Sylvia Tucker.

Slides:



Advertisements
Similar presentations
High level QA strategy for SQL Server enforcer
Advertisements

Test process essentials Riitta Viitamäki,
DETAILED DESIGN, IMPLEMENTATIONA AND TESTING Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Software Quality Assurance Plan
Abirami Poonkundran 2/22/10.  Goal  Introduction  Testing Methods  Testing Scope  My Focus  Current Progress  Explanation of Tools  Things to.
Chapter 3: System design. System design Creating system components Three primary components – designing data structure and content – create software –
Testing an individual module
Software Testing. “Software and Cathedrals are much the same: First we build them, then we pray!!!” -Sam Redwine, Jr.
Semester 2, 2003 Week 7 CSE9020 / 1 Software Testing and Quality Assurance With thanks to Shonali Krishnaswamy and Sylvia Tucker.
Systems Analysis I Data Flow Diagrams
Chapter 11: Testing The dynamic verification of the behavior of a program on a finite set of test cases, suitable selected from the usually infinite execution.
Introduction to Software Testing
 What is Software Testing  Terminologies used in Software testing  Types of Testing  What is Manual Testing  Types of Manual Testing  Process that.
Project Execution & Termination Life Cycle Execution Presented by: Basker George.
Glenn Research Center at Lewis Field Software Assurance of Web-based Applications SAWbA Tim Kurtz SAIC/GRC Software Assurance Symposium 2004.
© 2006, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice. Automation – How to.
MSF Testing Introduction Functional Testing Performance Testing.
Introduction to Computer Technology
Functional Testing Test cases derived from requirements specification document – Black box testing – Independent testers – Test both valid and invalid.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
1 CSE 403 System Testing and Test Plans These lecture slides are copyright (C) Marty Stepp, They may not be rehosted, sold, or modified without expressed.
Joel Bapaga on Web Design Strategies Technologies Commercial Value.
WorkPlace Pro Utilities.
1 Software Testing (Part-II) Lecture Software Testing Software Testing is the process of finding the bugs in a software. It helps in Verifying and.
Chapter 33 CGI Technology for Dynamic Web Documents There are two alternative forms of retrieving web documents. Instead of retrieving static HTML documents,
Software Testing Life Cycle
Introduction Telerik Software Academy Software Quality Assurance.
RUP Implementation and Testing
Software testing basic. Main contents  Why is testing necessary?  What is testing?  Test Design techniques  Test level  Test type  How to write.
1 Software Development Configuration management. \ 2 Software Configuration  Items that comprise all information produced as part of the software development.
CSE9020 Schedule, / 1 The Suggested Schedule Week Content/Deliverable 1. 4/3Unit Overview, Project Description, Meetings, Group Formation 2. 11/3Project.
Testing Basics of Testing Presented by: Vijay.C.G – Glister Tech.
Testing Workflow In the Unified Process and Agile/Scrum processes.
Moving into Implementation SYSTEMS ANALYSIS AND DESIGN, 6 TH EDITION DENNIS, WIXOM, AND ROTH © 2015 JOHN WILEY & SONS. ALL RIGHTS RESERVED.Roberta M. Roth.
A Web-Enabled Aircraft Scheduler Michael Wallette 20 Nov
© Copyright 2011 John Wiley & Sons, Inc.
CSE 219 Computer Science III Program Design Principles.
Software Development Cycle What is Software? Instructions (computer programs) that when executed provide desired function and performance Data structures.
University of Palestine software engineering department Testing of Software Systems Testing throughout the software life cycle instructor: Tasneem.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Slide 12.1 Chapter 12 Implementation. Slide 12.2 Learning outcomes Produce a plan to minimize the risks involved with the launch phase of an e-business.
Sylnovie Merchant, Ph.D. MIS 161 Spring 2005 MIS 161 Systems Development Life Cycle II Lecture 5: Testing User Documentation.
Connecting with Computer Science2 Objectives Learn how software engineering is used to create applications Learn some of the different software engineering.
Implementing and Using the SIRWEB Interface Setup of the CGI script and web procfile Connecting to your database using HTML Retrieving data using the CGI.
LOGO TESTING Team 8: 1.Nguyễn Hoàng Khánh 2.Dương Quốc Việt 3.Trang Thế Vinh.
D R A T D R A T ABSTRACT Every semester each department at Iowa State University has to assign its faculty members and teaching assistants (TAs) to the.
Topic 4 - Database Design Unit 1 – Database Analysis and Design Advanced Higher Information Systems St Kentigern’s Academy.
HNDIT23082 Lecture 09:Software Testing. Validations and Verification Validation and verification ( V & V ) is the name given to the checking and analysis.
T EST T OOLS U NIT VI This unit contains the overview of the test tools. Also prerequisites for applying these tools, tools selection and implementation.
Introduction. Internet Worldwide collection of computers and computer networks that link people to businesses, governmental agencies, educational institutions,
Introduction to Software Testing Maili Markvardt.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
SOFTWARE TESTING TRAINING TOOLS SUPPORT FOR SOFTWARE TESTING Chapter 6 immaculateres 1.
Software Testing.
SOFTWARE TESTING Date: 29-Dec-2016 By: Ram Karthick.
Software Engineering (CSI 321)
PLM, Document and Workflow Management
Gary Hughes, South Oakleigh College
Quality Management Perfectqaservices.
EIN 6133 Enterprise Engineering
Publishing and Maintaining a Website
Applied Software Implementation & Testing
Roberta Roth, Alan Dennis, and Barbara Haley Wixom
Engineering Processes
Introduction to Software Testing
Lecture 09:Software Testing
Course: Module: Lesson # & Name Instructional Material 1 of 32 Lesson Delivery Mode: Lesson Duration: Document Name: 1. Professional Diploma in ERP Systems.
Lesson 1 The Web.
Test Case Test case Describes an input Description and an expected output Description. Test case ID Section 1: Before execution Section 2: After execution.
Chapter 13: Construction
Presentation transcript:

Semester 1, 2003 Week 7 CSE9020 / 1 Software Testing and Quality Assurance With thanks to Shonali Krishnaswamy and Sylvia Tucker

Semester 1, 2003 Week 7 CSE9020 / 2 Reading and References n “Software Testing - A Craftsman’s Approach”, (1995) by Paul C. Jorgensen n “The Complete Guide to Software Testing”, (1988), by Bill Hetzel

Semester 1, 2003 Week 7 CSE9020 / 3 Presentation Outline n Introduction n Terminology n Levels of Testing n Defect Fixing Strategies n Test Process n Bottom line

Semester 1, 2003 Week 7 CSE9020 / 4 Testing and Quality n Hetzel - “Testing is the process of establishing confidence that a program or system does what it is supposed to do” n Quality “Meets requirements” n Quality is not tangible

Semester 1, 2003 Week 7 CSE9020 / 5 Testing and Quality n The purpose of testing is to make quality visible n Testing is the measurement of software quality

Semester 1, 2003 Week 7 CSE9020 / 6 Terminology n Test Plan: A document describing the testing approach –Description of the system to be tested –Objectives of testing

Semester 1, 2003 Week 7 CSE9020 / 7 Terminology - Test Plan –Project team –Test environment –Resource requirements –Test Schedule

Semester 1, 2003 Week 7 CSE9020 / 8 Terminology n Test Procedure: A document defining the steps required to carry out the test plan (or part of it) - that is, execute a set of test cases –Test case name, objective –Description of input required –Description of expected output

Semester 1, 2003 Week 7 CSE9020 / 9 Terminology - Test Procedure Some aspects to watch : –Commands or Macros to run the test case –Location and format of the actual output –Assumptions, Conditions

Semester 1, 2003 Week 7 CSE9020 / 10 Terminology n Test Case: A specific set of test data and the corresponding expected results for a particular test objective. –Invalid and Valid test cases n Test Script: The code written to implement the test case

Semester 1, 2003 Week 7 CSE9020 / 11 Levels of Testing n Unit Testing: Testing of individual components of a system (sometimes called Basic Functionality Testing)

Semester 1, 2003 Week 7 CSE9020 / 12 Levels of Testing n System Testing: Testing in a wider scope - a group of components and the sequence of operations

Semester 1, 2003 Week 7 CSE9020 / 13 Levels of Testing n Acceptance Testing: Testing to determine if a system is ready for implementation (or, - would the ‘user’ buy this ? - would I buy it ? )

Semester 1, 2003 Week 7 CSE9020 / 14 Automated vs. Manual Testing n Manual –Every test case is executed manually –Comparison of actual and expected is done manually

Semester 1, 2003 Week 7 CSE9020 / 15 Automated vs. Manual Testing n Manual –Suitable for interactive tests –Tedious and time consuming –Simpler

Semester 1, 2003 Week 7 CSE9020 / 16 Automated vs. Manual Testing n Automated –A test harness runs the test scripts –Analysis of the results is automated and the results are logged –Testing effort is reduced and it is more efficient in the longer term n Note: The actual test scripts are not generated automatically

Semester 1, 2003 Week 7 CSE9020 / 17 Boundary Value Analysis n Guidelines: –Break up the system in to components that have to be tested –Determine the boundary values for the components –Design test cases based on the boundary values n Limitation: Works well with independent variables (or components) with well defined boundaries

Semester 1, 2003 Week 7 CSE9020 / 18 Equivalence Classes n Motivations: Completeness with minimal or no redundancies n An equivalence class is a partition of a set n Guidelines: –Identify equivalence classes –Design test cases for each equivalence class n Example: A variable can take only values from 0 to 9 inclusive.

Semester 1, 2003 Week 7 CSE9020 / 19 Decision Tables n Condition/Action rules are presented in a tabular form n Test Cases: Conditions are inputs, Actions are outputs Fixed rate accountTTFFF Variable rate accountFFTTF Consumption < 100 KWHTFTF Consumption >= 100 KWHFTFT Minimum monthly chargeX Schedule A billingXX Schedule B billingX Other treatmentX

Semester 1, 2003 Week 7 CSE9020 / 20 Defect Fixing Strategies n Document Defects –full and complete information so the defect can be reproduced –Pass it back to the developer n Fix –Document the fix –Pass it back to the tester n Re-test, regression tests

Semester 1, 2003 Week 7 CSE9020 / 21 Test Process n Develop a test plan (and agree on it) n Specify the test procedure n Perform boundary value analysis / equivalence classes etc.

Semester 1, 2003 Week 7 CSE9020 / 22 Test Process n Design and implement test cases n Run the tests n Analyse and document results n Fix Defects then Run the tests etc etc -and agree that the fixes have worked

Semester 1, 2003 Week 7 CSE9020 / 23 Testing Web Sites n Are essentially client/server applications n Consider: –Interaction between html pages –internet connections –firewalls –applications that run in web pages (client) applets javascript.net approach

Semester 1, 2003 Week 7 CSE9020 / 24 Testing Web Sites –applications that run on the server cgi scripts database interfaces logging applications dynamic page generators –variety of servers, browsers (versions) –expected loads on the server, expected performance on client, and server investigate web testing tools n

Semester 1, 2003 Week 7 CSE9020 / 25 Testing Web Sites n Who is the target audience? –Browsers, connection speed intranet (fast) or internet (may be sloooooow!) –Usability guidelines Pages should be 3-5 screens max., otherwise provide internal links within the page Use a consistent layout, navigation Make pages browser-independent, or generate for a specific browser Include page owner, revision date, contact link NO dead-end pages!

Semester 1, 2003 Week 7 CSE9020 / 26 Testing Web Sites n On-going –Performance Testing –Link Testing –Security Testing –HTML validation (browsers change!)

Semester 1, 2003 Week 7 CSE9020 / 27 In Summary... n Why? n Who? n When? n What? n How?

Semester 1, 2003 Week 7 CSE9020 / 28 Bottom Line n Testing is expensive n Testing is necessary n You are never going to test everything –use Risk Analysis to determine where testing should be focused

Semester 1, 2003 Week 7 CSE9020 / 29 Bottom Line n Your IE Project is not complete until your client has completed the Acceptance Testing to their satisfaction, and signed-off the project!

Semester 1, 2003 Week 7 CSE9020 / 30 Bottom Line n Most Essential Make sure that –the system –and the group members maintain versioning control (link Software Testing and Quality Assurance with with Risks and Ethics)

Semester 1, 2003 Week 7 CSE9020 / 31 More Maintenance Pilot Entry: Left inside main tyre almost needs replacement Mechanic Entry: Almost replaced left inside main tyre Pilot Entry: Test flight OK, except autoland very rough Mechanic entry Autoland not installed on this aircraft