Sw Software QA Testing


Published on

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Sw Software QA Testing

  1. 1. Software QA/Testing SW
  2. 2. Software QA/Testing <ul><li>Test Organization Structure </li></ul><ul><li>Software QA </li></ul><ul><li>Test Plans </li></ul><ul><li>Test Cases </li></ul>
  3. 3. The Testing Process Function testing Module testing Subprogram testing Program testing Acceptance testing
  4. 4. Small Team QA TL/QA Lead Test Engineer Developer Developer PM Small teams: -QA/Test part of the development team -QA tend to switch to developper
  5. 5. Medium Size Organization QA Developer Developer PM Development TL Test Engineer Test Engineer QA Lead
  6. 6. Large Organization QA QA Manager Test Engineer Test Engineer PM PM Development Manager
  7. 7. The Software QA Process Unit testing Developer Subroutine, module, class, informally Source-code testing Technical reviews Program testing Developer Development team Test/QA team Line by line in a debugger Walk through inspection, code reading Test plan/Test cases Integration testing Developer of the new code Process type Responsible Description Test of the module after the insertion of the new code
  8. 8. Defect Tracking <ul><li>Defect ID - unique ID </li></ul><ul><li>Description - brief description of the defect </li></ul><ul><li>Platform type - CPU,memory, disk space, vide card, etc. </li></ul><ul><li>Defect’s current status - open/closed </li></ul><ul><li>Developer/QA who detected the defect </li></ul><ul><li>Date </li></ul><ul><li>Severity - 1-4 </li></ul><ul><li>Phase creation/detection - RD, architecture, design, etc. </li></ul><ul><li>Date correction </li></ul><ul><li>Person who corrected it </li></ul><ul><li>Effort - in staff hours required to correct it </li></ul><ul><li>Work product - product corrected, RD, FSD, DD, TP/TC </li></ul><ul><li>Resolution - pending engineer fix, pending engineer review, pending QA verification, corrected, determined not to be a defect, unable to reproduce </li></ul><ul><li>Other notes </li></ul>
  9. 9. Software QA Practices <ul><li>Begin review early in the software project </li></ul><ul><li>Keep technical reviews focused on defect detection </li></ul><ul><li>Keep technical reviews technical </li></ul><ul><li>Keep track of what material has been reviewed </li></ul><ul><li>Record the defects detected during reviews </li></ul><ul><li>Verify that the works identified during the review is performed </li></ul><ul><li>Make review results public to the project team </li></ul><ul><li>Allow time in the schedule for reviews and correcting problems identified during reviews </li></ul>
  10. 10. Build engineering <ul><li>Large software organizations, multiple products </li></ul><ul><ul><li>Build schedule </li></ul></ul><ul><ul><li>Release management </li></ul></ul><ul><ul><li>Build </li></ul></ul><ul><ul><li>Build testing </li></ul></ul><ul><ul><li>Delivery </li></ul></ul>
  11. 11. Test Plan Template <ul><li>Overview - architecture of the program under test, test approach, goals, methodologies, arguments </li></ul><ul><ul><li>Definition - table: terms and acronyms related to the testing plan </li></ul></ul><ul><li>Bounds </li></ul><ul><ul><li>Scope- what will be tested and what not </li></ul></ul><ul><ul><li>Setting- location where the test will be performed </li></ul></ul><ul><li>Quality risks </li></ul><ul><ul><li>Component testing - states, transactions, data flow, functionality, UI </li></ul></ul><ul><ul><li>Integration testing - APIs, error handling, functionality, UI, performance </li></ul></ul><ul><ul><li>System and acceptance testing - states, transactions, data flow coverage, functionality, UI, error handling, operations, reliability, date/time, localization, installation and configuration options, compatibility, documentation </li></ul></ul><ul><li>Proposed schedule/milestones - milestones from the Gantt chart (high level deliverables) </li></ul><ul><ul><li>Test Development and Configuration - Test plan complete, Test lab configured, Test suite complete </li></ul></ul><ul><ul><li>Testing - Phases - Test cycles </li></ul></ul>
  12. 12. Test Plan Template (cont) <ul><li>Tracking </li></ul><ul><ul><li>test tracking - list to manage the test cases, and the way the process is documented </li></ul></ul><ul><ul><ul><li>Test suites table- sequence of test case for all the test suites </li></ul></ul></ul><ul><ul><li>defect tracking - tool/database, classification and the way communication occurs (dev team, QA, mgmt) </li></ul></ul><ul><li>Phases (1,2,3,4,5…) - for each phase, the criteria essential for beginning/completing various test phases </li></ul><ul><li>Release management - how a software component should be identified </li></ul><ul><ul><li>release (revision) number- compatibility, os version, tested/not testes, test phase/cycle </li></ul></ul><ul><li>Risks and contingencies </li></ul><ul><ul><li>training needs </li></ul></ul><ul><ul><li>availability of additional development support </li></ul></ul><ul><li>Change history - changes and revisions made to the test plan </li></ul><ul><li>Referenced documents </li></ul>
  13. 13. Test Plan Phase Template <ul><li>Entry criteria </li></ul><ul><ul><li>documentation, specifications and requirements available? </li></ul></ul><ul><ul><li>subprogram/program ready (runnable)? </li></ul></ul><ul><ul><li>supporting utilities, accessories, prerequisites? </li></ul></ul><ul><ul><li>previous test phase completed? </li></ul></ul><ul><ul><li>lab, hardware, software, support ready? </li></ul></ul><ul><li>Stopping criteria - conditions/events to suspend test execution </li></ul><ul><ul><li>a entry condition could become unavailable </li></ul></ul><ul><ul><li>too many errors in the program </li></ul></ul><ul><li>Exit criteria - when testing has been completed </li></ul><ul><ul><li>all planned tests cases and regression tests have run </li></ul></ul><ul><ul><li>team/SwPM OK </li></ul></ul><ul><li>Resources - People, Hardware allocation, Software, Networks, Lab space, other resources </li></ul><ul><li>Test Cycles - all test suites planned for a given phase </li></ul>
  14. 14. Test Cases <ul><li>Use Case Test - against a/several given usage/s </li></ul><ul><li>System & Acceptance Test - program as a whole, real data </li></ul><ul><li>Functional Test - functionality (module, program) </li></ul><ul><li>Structural Test - driven by the structure of the program </li></ul><ul><li>Boundary Test - test the boundary conditions </li></ul><ul><li>Requirements-based Test - test against the original requirements </li></ul><ul><li>Behavioral Test - a set of possible user actions </li></ul><ul><li>Fault-based Test - error input response </li></ul><ul><li>Regression Test - re-testing </li></ul>
  15. 15. Distributed Testing A B A B A B B A A and B test different conditions A and B test the same conditions A and B test some similar conditions and some independent A test conditions cover B tests conditions
  16. 16. Outside Beta Testing <ul><li>Expert consulting </li></ul><ul><li>Reviews </li></ul><ul><li>Customer relationship building </li></ul><ul><li>Polishing the User Interface </li></ul><ul><li>Compatibility testing </li></ul><ul><li>General QA - as many testers as possible </li></ul>
  17. 17. EN ISO 9000 Family - EC type CE Marking A Production Phase B C D E No notified body to take action - one or more tests on one or more specific aspects - random product checks Conformity with the type as described in EC - one or more tests on one or more specific aspects - random product checks H G Design Phase NB examination for every individual product (certificate of conformity) F NB intervention, approve and control QS. ISO9002 (production, final product inspection and testing) -production QA without Design NB intervention, approve and control QS. ISO9003 (final product inspection and testing) -production QA without Design NB controls conformity with the type - EC (certificate of conformity) -production QA without Design EC-type examination (certificate of conformity) NB intervention, approves and control QS. ISO 9001 (design, production, final product inspection,testing) -QA without Design