Software Quality for software development

Slides:



Advertisements
Similar presentations
Testing Relational Database
Advertisements

Configuration Management
System Integration Verification and Validation
Software Quality Assurance Plan
Chapter 2 – Software Processes
Software Modeling SWE5441 Lecture 3 Eng. Mohammed Timraz
Documentation Testing
Chapter 15 Design, Coding, and Testing. Copyright © 2005 Pearson Addison-Wesley. All rights reserved Design Document The next step in the Software.
Illinois Institute of Technology
 QUALITY ASSURANCE:  QA is defined as a procedure or set of procedures intended to ensure that a product or service under development (before work is.
Introduction to Software Testing
Design, Implementation and Maintenance
Release & Deployment ITIL Version 3
S/W Project Management
1 Building and Maintaining Information Systems. 2 Opening Case: Yahoo! Store Allows small businesses to create their own online store – No programming.
Extreme Programming Software Development Written by Sanjay Kumar.
Software Testing. Recap Software testing – Why do we do testing? – When it is done? – Who does it? Software testing process / phases in software testing.
Introduction to Software Quality Assurance (SQA)
Software Quality Assurance Lecture #8 By: Faraz Ahmed.
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.
N By: Md Rezaul Huda Reza n
Software Systems Verification and Validation Laboratory Assignment 3 Integration, System, Regression, Acceptance Testing Assignment date: Lab 3 Delivery.
CS 360 Lecture 3.  The software process is a structured set of activities required to develop a software system.  Fundamental Assumption:  Good software.
Software Testing Testing principles. Testing Testing involves operation of a system or application under controlled conditions & evaluating the results.
 CS 5380 Software Engineering Chapter 8 Testing.
Software Development Software Testing. Testing Definitions There are many tests going under various names. The following is a general list to get a feel.
Systems Design Approaches The Waterfall vs. Iterative Methodologies.
Testing Workflow In the Unified Process and Agile/Scrum processes.
University of Palestine software engineering department Testing of Software Systems Testing throughout the software life cycle instructor: Tasneem.
Historical Aspects Origin of software engineering –NATO study group coined the term in 1967 Software crisis –Low quality, schedule delay, and cost overrun.
TESTING LEVELS Unit Testing Integration Testing System Testing Acceptance Testing.
Chapter 2 – Software Processes Lecture 1 Chapter 2 Software Processes1.
Software Engineering1  Verification: The software should conform to its specification  Validation: The software should do what the user really requires.
Software Quality Assurance and Testing Fazal Rehman Shamil.
1 Object-Oriented Analysis and Design with the Unified Process Figure 13-1 Implementation discipline activities.
HNDIT23082 Lecture 09:Software Testing. Validations and Verification Validation and verification ( V & V ) is the name given to the checking and analysis.
Software Development Process CS 360 Lecture 3. Software Process The software process is a structured set of activities required to develop a software.
Testing Overview Software Reliability Techniques Testing Concepts CEN 4010 Class 24 – 11/17.
LECTURE 5 Nangwonvuma M/ Byansi D. Components, interfaces and integration Infrastructure, Middleware and Platforms Techniques – Data warehouses, extending.
Advanced Software Engineering Dr. Cheng
ITIL: Service Transition
Configuration Management
Software Testing Strategies for building test group
Software Testing.
SOFTWARE TESTING Date: 29-Dec-2016 By: Ram Karthick.
PREPARED BY G.VIJAYA KUMAR ASST.PROFESSOR
Software Quality Control and Quality Assurance: Introduction
Information Systems Development
Software Engineering (CSI 321)
CSC 480 Software Engineering
Chapter 10 Software Quality Assurance& Test Plan Software Testing
Chapter 18 Maintaining Information Systems
Configuration Management
The Systems Engineering Context
Software Configuration Management
Quality Management Perfectqaservices.
TESTING IN THE SOFTWARE LIFE CYCLE &TEST LEVELS Chapter 2 1/11/
CMMI – Staged Representation
Engineering Processes
Introduction to Software Testing
Lecture 09:Software Testing
Verification and Validation Unit Testing
Software life cycle models
Testing and Test-Driven Development CSC 4700 Software Engineering
Chapter 13 Quality Management
CS310 Software Engineering Lecturer Dr.Doaa Sami
Overview Activities from additional UP disciplines are needed to bring a system into being Implementation Testing Deployment Configuration and change management.
Software Reviews.
Software Testing Strategies
Presentation transcript:

Software Quality for software development Umaporn S. Pattarin H. 18 Sep 09

Presenter Introduction Working experiences Pattarin (Nuch) Software engineer (developer) in software house company Software Quality Assurance (SQA) at Thomson Reuters 4 years Umaporn (Jib) Software engineer (developer) in IT department of construction company Quality Assurance (tester) in software house company Software Quality Assurance (SQA) at Thomson Reuters 4 years

Agenda Module 1: Introduction to Software Quality Software Quality for Software Development at Thomson Reuters Software Development Life Cycle - Waterfall Software Quality Control in waterfall Software Quality Assurance in waterfall Impact of NOT doing software quality well Module 2: Software Quality Control Type of software testing Benefit of having Software Quality Control in place Module 3: Software Quality Assurance Standards, methods and framework What’s CMMi? The definition in maturity level representation Benefit of having Software Quality Assurance Question & Answer

Module 1: Introduction to Software Quality

Software Quality for Software Development at Thomson Reuters Module 1: Introduction to Software Quality Software Quality for Software Development at Thomson Reuters At Thomson Reuters we have 2 roles Software Quality Control group (Tester or Quality Assurance Engineering) To ensure that a software product will meet its quality goals at the best value to the customer. Software Quality Assurance Group (SQA) To monitoring and improving the process, making sure that any agreed-upon standards and procedures are followed, and ensuring that problems are found and dealt with. http://www.softwareqatest.com/qatfaq1.html

Software Process Specialist in Thomson Reuters To prepare S/W process improvement plans and the roadmap Work with the software project team during its early stages to establish plans, standards and procedures. Review project’s software engineering activity as well as audit designated software work products to verify compliance. Periodically report on results of work to software engineering group. Implement collection of software metrics Proactively identify process improvement opportunities and train staff on process improvement. It is distinct from software quality assurance which includes audits of the quality management system against a standard. Whereas software quality control is a control of products, software quality assurance is a control of processes.

Software Development Life Cycle Waterfall model Module 1: Introduction to Software Quality Software Development Life Cycle Waterfall model Requirement Design Implementation Unit & System Test Release Requirement Specification High Level Design Spec Detailed Design Spec Source codes Test Specification Test report S/W Package Release document Advantage: Clear-cut steps make project management Resource management easier. Disadvantage: One chance to get it right. Mistakes in requirements and design are not found until testing. Costly to repair. Does not allow for changing requirements. The waterfall is a good model to use if: - The contract for the work is complete, correct, and unambiguous. - The requirements and acceptance criteria are complete, correct, and unambiguous. - The work can be completed within the constraints. - No change is expected in the requirements or design—the customers' world is static. - The problem and solution are well understood and clearly defined. - No one is going to make mistakes in the requirements or design. Project Management e.g. Project Planning, Tracking progress/risk/issue Configuration Management e.g. baseline Defect Prevention e.g. Peer Review Requirement Traceability and Change Management

Software Quality Control in waterfall Module 1: Introduction to Software Quality Software Quality Control in waterfall Requirement Design Implementation Unit & System Test Release Purpose: To ensure that the software is work as expected and meets the business and technical requirements. Activities: Prepare for testing, execute the test and report test result Outputs: Test Specification , Test Result Report Performed by: Quality Assurance team Requirement Specification High Level Design Spec Detailed Design Spec Source codes Test Specification Test report S/W Package Release document Advantage: Clear-cut steps make project management Resource management easier. Disadvantage: One chance to get it right. Mistakes in requirements and design are not found until testing. Costly to repair. Does not allow for changing requirements. The waterfall is a good model to use if: - The contract for the work is complete, correct, and unambiguous. - The requirements and acceptance criteria are complete, correct, and unambiguous. - The work can be completed within the constraints. - No change is expected in the requirements or design—the customers' world is static. - The problem and solution are well understood and clearly defined. - No one is going to make mistakes in the requirements or design. Project Management e.g. Project Planning, Tracking progress/risk/issue Configuration Management e.g. baseline Defect Prevention e.g. Peer Review Requirement Traceability and Change Management

Software Quality Assurance in waterfall Module 1: Introduction to Software Quality Software Quality Assurance in waterfall Requirement Design Implementation Unit & System Test Release Requirement Specification High Level Design Spec Detailed Design Spec Source codes Test Specification Test report S/W Package Release document Purpose: To monitor the software engineering process and method used to ensure quality. Activities: Process verification and improvement, orientation and consultation and provide visibility to management and team Outputs: Process verification and improvement plan, non compliance report Performed by: Software Quality Assurance team Advantage: Clear-cut steps make project management Resource management easier. Disadvantage: One chance to get it right. Mistakes in requirements and design are not found until testing. Costly to repair. Does not allow for changing requirements. The waterfall is a good model to use if: - The contract for the work is complete, correct, and unambiguous. - The requirements and acceptance criteria are complete, correct, and unambiguous. - The work can be completed within the constraints. - No change is expected in the requirements or design—the customers' world is static. - The problem and solution are well understood and clearly defined. - No one is going to make mistakes in the requirements or design. Project Management e.g. Project Planning, Tracking progress/risk/issue Configuration Management e.g. baseline Defect Prevention e.g. Peer Review Requirement Traceability and Change Management

Impact of NOT doing software quality well Module 1: Introduction to Software Quality Impact of NOT doing software quality well Symptoms of software development problems http://www.devdaily.com/java/java_oo/node6.shtml http://blog.thingsdesigner.com/uploads/id/tree_swing_development_requirements.jpg Inaccurate understanding of end-user needs. Inability to deal with changing requirements. Modules that don't fit together. Software that's hard to maintain or extend. Late discovery of serious projects flaws. Poor software quality. Unacceptable software performance. Team members in each other's way. An untrustworthy build and release process

Module 2: Software Quality Control

Type of software testing Module 2: Software Quality Control Type of software testing Unit Test The testing of minimal software items. The purpose of unit testing is to check that the changes made to the function/component has created the desired result. System Test The purpose of system testing is to verify that software meets specified requirements. It includes validating both functional and non-functional system requirements. Integration Test To integrate and test a fully functioning operational system or infrastructure system prior to it will be handed over to operations for in-house and/or commercial use. Integration testing will focus on the end to end delivery platform. User Acceptant Test (Beta Test) Performed by clients/customers who agree to participate in the test in the same way that you run a pilot with a few clients prior to deploying to all clients. To ensure that the product is ready for wider release and reduce risk prior to deploying on a large scale.  http://www.softwareqatest.com/qatfaq1.html#FAQ1_10 Black box testing - not based on any knowledge of internal design or code. Tests are based on requirements and functionality. White box testing - based on knowledge of the internal logic of an application's code. Tests are based on coverage of code statements, branches, paths, conditions. unit testing - the most 'micro' scale of testing; to test particular functions or code modules. Typically done by the programmer and not by testers, as it requires detailed knowledge of the internal program design and code. Not always easily done unless the application has a well-designed architecture with tight code; may require developing test driver modules or test harnesses. incremental integration testing - continuous testing of an application as new functionality is added; requires that various aspects of an application's functionality be independent enough to work separately before all parts of the program are completed, or that test drivers be developed as needed; done by programmers or by testers. integration testing - testing of combined parts of an application to determine if they function together correctly. The 'parts' can be code modules, individual applications, client and server applications on a network, etc. This type of testing is especially relevant to client/server and distributed systems. functional testing - black-box type testing geared to functional requirements of an application; this type of testing should be done by testers. This doesn't mean that the programmers shouldn't check that their code works before releasing it (which of course applies to any stage of testing.) system testing - black-box type testing that is based on overall requirements specifications; covers all combined parts of a system. end-to-end testing - similar to system testing; the 'macro' end of the test scale; involves testing of a complete application environment in a situation that mimics real-world use, such as interacting with a database, using network communications, or interacting with other hardware, applications, or systems if appropriate. sanity testing or smoke testing - typically an initial testing effort to determine if a new software version is performing well enough to accept it for a major testing effort. For example, if the new software is crashing systems every 5 minutes, bogging down systems to a crawl, or corrupting databases, the software may not be in a 'sane' enough condition to warrant further testing in its current state. regression testing - re-testing after fixes or modifications of the software or its environment. It can be difficult to determine how much re-testing is needed, especially near the end of the development cycle. Automated testing approaches can be especially useful for this type of testing. acceptance testing - final testing based on specifications of the end-user or customer, or based on use by end-users/customers over some limited period of time. load testing - testing an application under heavy loads, such as testing of a web site under a range of loads to determine at what point the system's response time degrades or fails. stress testing - term often used interchangeably with 'load' and 'performance' testing. Also used to describe such tests as system functional testing while under unusually heavy loads, heavy repetition of certain actions or inputs, input of large numerical values, large complex queries to a database system, etc. performance testing - term often used interchangeably with 'stress' and 'load' testing. Ideally 'performance' testing (and any other 'type' of testing) is defined in requirements documentation or QA or Test Plans. usability testing - testing for 'user-friendliness'. Clearly this is subjective, and will depend on the targeted end-user or customer. User interviews, surveys, video recording of user sessions, and other techniques can be used. Programmers and testers are usually not appropriate as usability testers. install/uninstall testing - testing of full, partial, or upgrade install/uninstall processes. recovery testing - testing how well a system recovers from crashes, hardware failures, or other catastrophic problems. failover testing - typically used interchangeably with 'recovery testing' security testing - testing how well the system protects against unauthorized internal or external access, willful damage, etc; may require sophisticated testing techniques. compatability testing - testing how well software performs in a particular hardware/software/operating system/network/etc. environment. exploratory testing - often taken to mean a creative, informal software test that is not based on formal test plans or test cases; testers may be learning the software as they test it. ad-hoc testing - similar to exploratory testing, but often taken to mean that the testers have significant understanding of the software before testing it. context-driven testing - testing driven by an understanding of the environment, culture, and intended use of software. For example, the testing approach for life-critical medical equipment software would be completely different than that for a low-cost computer game. user acceptance testing - determining if software is satisfactory to an end-user or customer. comparison testing - comparing software weaknesses and strengths to competing products. alpha testing - testing of an application when development is nearing completion; minor design changes may still be made as a result of such testing. Typically done by end-users or others, not by programmers or testers. beta testing - testing when development and testing are essentially completed and final bugs and problems need to be found before final release. Typically done by end-users or others, not by programmers or testers. mutation testing - a method for determining if a set of test data or test cases is useful, by deliberately introducing various code changes ('bugs') and retesting with the original test data/cases to determine if the 'bugs' are detected. Proper implementation requires large computational resources.

Benefit of having Software Quality Control in place Module 2: Software Quality Control Benefit of having Software Quality Control in place It gives confidence to those delivering the product to customer. Prevent any possible defects when the output is made. Software is more readily accepted by users. Better quality software. Customer satisfaction

Module 3: Software Quality Assurance

Standards, methods and framework Module 3: Software Quality Assurance Standards, methods and framework ITIL Foundation v.3 Learning for Reuters Staff

Introduction to CMMI – What is CMMi? Module 3: Software Quality Assurance Introduction to CMMI – What is CMMi? Capability Maturity Model® Integration (CMMi) is a process improvement approach that provides organizations with the essential elements of effective processes. It can be used to guide process improvement across a project, a division, or an entire organization. Just like Business Process Management (BPM), CMMi helps integrate traditionally separate organizational functions, set process improvement goals and priorities, provide guidance for quality processes, and provide a point of reference for appraising current processes.

CMMI Maturity Framework - Staged Optimizing Qualitatively Managed Defined Managed Initial

Process Areas of CMMI Staged Source: CMMI-SE/SW/IPPD/SS, v 1.1, March 2002

Performance Results of CMMI-Based Process Improvement Module 3: Software Quality Assurance Performance Results of CMMI-Based Process Improvement Performance Category Median Improvement Cost 34% Schedule 50% Productivity 61% Quality 48% Customer Satisfaction 14% Return of Investment (ROI) 4.0: 1 Reference: http://www.sei.cmu.edu/library/abstracts/reports/06tr004.cfm

The Benefits of having Software Quality Assurance Module 3: Software Quality Assurance The Benefits of having Software Quality Assurance Shortens the learning curve for new users. Better quality and well maintained of deliverable from each development stage. Establish a common language. Each discipline of quality assurance are focuses on opportunities for early error detection problem prevention and risk identification and mitigation – earlier defect detected yields fewer costs to fix and less schedule impact.

References ITIL ® Foundation V 3, ILX Group for Thomson Reuters. Reuters Software Thailand Test Process Guideline v9.0 Henry S, Overview of CMMI, Taxas Symposium on Software Engineering, TeraQuest, August 27, 2004 http://www.softwareqatest.com/qatfaq1.html#FAQ1_10