Session 10 Integration and Testing

52 315 0
Session 10 Integration and Testing

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Principle of Project Management Fall 2008 1 Software Project Management Session 10: Integration & Testing Principle of Project Management Fall 2008 2 Today • Software Quality Assurance • Integration • Test planning • Types of testing • Test metrics • Test tools Principle of Project Management Fall 2008 3 Development Costs 7% 16% 24% 24% 29% Requirements Preliminary Design Detailed Design Code & Unit Test Integration & System Test Principle of Project Management Fall 2008 4 Integration & Testing • Development/Integration/Testing • Most common place for schedule & activity overlap • Sometimes Integration/Testing thought of as one phase • Progressively aggregates functionality • QA team works in parallel with dev. team Principle of Project Management Fall 2008 5 Integration Approaches • Top Down • Core or overarching system(s) implemented 1 st • Combined into minimal “shell” system • “Stubs” are used to fill-out incomplete sections – Eventually replaced by actual modules • Bottom Up • Starts with individual modules and builds-up • Individual units (after unit testing) are combined into sub-systems • Sub-systems are combined into the whole Principle of Project Management Fall 2008 6 Integration • Who does integration testing? – Can be either development and/or QA team • Staffing and budget are at peak • “Crunch mode” • Issues • Pressure • Delivery date nears • Unexpected failures (bugs) • Motivation issues • User acceptance conflicts Principle of Project Management Fall 2008 7 Validation and Verification • V & V • Validation – Are we building the right product? • Verification – Are we building the product right? – Testing – Inspection – Static analysis Principle of Project Management Fall 2008 8 Quality Assurance • QA or SQA (Software Quality Assurance) • Good QA comes from good process • When does SQA begin? – During requirements • A CMM Level 2 function • QA is your best window into the project Principle of Project Management Fall 2008 9 Test Plans (SQAP) • Software Quality Assurance Plan – Should be complete near end of requirements • See example – Even use the IEEE 730 standard Principle of Project Management Fall 2008 10 SQAP • Standard sections – Purpose – Reference documents – Management – Documentation – Standards, practices, conventions, metrics • Quality measures • Testing practices [...]... Performance Test User Interface Design Usability Test System Testing and Acceptance Testing Integration and Testing High-Level Desig Detailed Design Unit Testing Coding Principle of Project 17 Project Testing Flow • • • • Unit Testing Integration Testing System Testing User Acceptance Testing Principle of Project 18 Black-Box Testing • Functional Testing • Program is a “black-box” – Not concerned with how... 4% Rew ork Production 10% 1% 5% 19% 12% 12% 16% 12% 10% 6% 0% Requirements Detailed Design Integration & System Test Principle of Project 15 Sources of Defects 27% Design Other Code 56% 10% Requirements 7% Principle of Project 16 V Process Model Project Requirements and Planning Non-functional Requirements Product Requirements and Specification Analysis Production, Operations, and Maintenance Load &... 19 White-Box Testing • Accounts for the structure of the program • Coverage – Statements executed – Paths followed through the code Principle of Project 20 Unit Testing • a.k.a Module Testing • Type of white-box testing – Sometimes treated black-box • Who does Unit Testing? • Developers • Unit tests are written in code – Same language as the module – a.k.a “Test drivers” • When do Unit Testing? • Ongoing... Unit Testing • Individual tests can be grouped – “Test Suites” • JUnit • Part of the XP methodology • “Test-first programming” Principle of Project 22 Integration TestingTesting interfaces between components • First step after Unit Testing • Components may work alone but fail when put together • Defect may exist in one module but manifest in another • Black-box tests Principle of Project 23 System Testing. ..SQAP • Standard sections continued – Reviews and Audits • Process and specific reviews – – – – Requirements Review (SRR) Test Plan Review Code reviews Post-mortem review – Risk Management • Tie-in QA to overall risk mgmt Plan – Problem Reporting and Corrective Action – Tools, Techniques, Methodologies – Records Collection and Retention Principle of Project 11 Software... 27 External Testing Milestones • Alpha 1st, Beta 2nd • Testing by users outside the organization • Typically done by users • Alpha release • Given to very limited user set • Product is not feature-complete • During later portions of test phase • Beta release • Customer testing and evaluation • Most important feature • Preferably after software stabilizes Principle of Project 28 External Testing Milestones... measurable conditions Principle of Project 25 Regression Testing – Re-running of tests after fixes or changes are made to software or the environment – EX: QA finds defect, developer fixes, QA runs regression test to verify – Automated tools very helpful for this Principle of Project 26 Compatibility TestingTesting against other “platforms” • Ex: Testing against multiple browsers • Does it work under... when put together • Defect may exist in one module but manifest in another • Black-box tests Principle of Project 23 System TestingTesting the complete system • A type of black-box testing Principle of Project 24 User Acceptance Testing • • • • Last milestone in testing phase Ultimate customer test & sign-off Sometimes synonymous with beta tests Customer is satisfied software meets their requirements... Value of Beta Testing • • • • Testing in the real world Getting a software assessment Marketing Augmenting you staff • Do not determine features based on it • Too late! • Beta testers must be “recruited” • From: Existing base, marketing, tech support, site • Requires the role of “Beta Manager” • All this must be scheduled by PM Principle of Project 29 External Testing Milestones • Release Candidate (RC)... Static Testing • Reviews • Most artifacts can be reviewed • Proposal, contract, schedule, requirements, code, data model, test plans – Peer Reviews • Methodical examination of software work products by peers to identify defects and necessary changes • Goal: remove defects early and efficiently • Planned by PM, performed in meetings, documented • CMM Level 3 activity Principle of Project 32 Automated Testing . manufacturing 6% 1% 12% 4% 16% 8% 12% 12% 10% 19% 0% 5% 10% 15% 20% 25% 30% Requirements Detailed Design Integration & System Test Rew ork Production Principle of Project Management Fall 2008 16 Sources of Defects 27% 10% 7% 56% Design Other. Principle of Project Management Fall 2008 1 Software Project Management Session 10: Integration & Testing Principle of Project Management Fall 2008 2 Today • Software. & System Test Principle of Project Management Fall 2008 4 Integration & Testing • Development/Integration/Testing • Most common place for schedule & activity overlap • Sometimes Integration/Testing

Ngày đăng: 13/05/2014, 21:50

Từ khóa liên quan

Mục lục

  • Software Project Management

  • Today

  • Development Costs

  • Integration & Testing

  • Integration Approaches

  • Integration

  • Validation and Verification

  • Quality Assurance

  • Test Plans (SQAP)

  • SQAP

  • Slide 11

  • Software Quality

  • Testing

  • Test Cases

  • Rework

  • Sources of Defects

  • V Process Model

  • Project Testing Flow

  • Black-Box Testing

  • White-Box Testing

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan