Software Testing Process

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    2 Favorites

    Software Testing Process - Presentation Transcript

    1. SOFTWARE TESTING PROCESS Byungwook Cho C. (bwcho75@gmail.com) Sr Consultant 2008.08.08
    2. ICE BREAK
    3. AGENDA
      • Test model
      • Test process
      • Static testing
    4. Test model
    5. Test oriented development process model
      • V-Model
        • Enhanced traditional waterfall model
      • Verification & Validation
      < V-Model > < Verification & Validation > Dynamic testing Static testing Testing with system Review & Inspection with artifacts from each development step Valid & estimate the system To verify the artifacts that has been produced in each development cycle. Validation Verification
    6. Test Level ※ Integration strategies Lead by QA Team or Customer Lead by QA Team (Specialized for system test) Lead by Dev Team Lead by Dev Team Responsibility Alpha Test Beta Test Use Mock Object (Test Stub ,Driver) Use Code coverage Black box test Black box test White box test White box test Testing Type Verify customer’s requirement (End User) Verify customer’s Legal issue (Legal) Verify customer’s maintanance issue (SM) Acceptance Test Test system over production environment to verify system itself and production environment Include Functional & Non Functional Test (Availibility, Stablity, Extendability, Performance etc) System Test Verify integration between component. Verify software flow ,interface & interaction Integration Test Verify software component Unit Test Description Level Small project SOA svc BPM Ex. Short time Can test implementation logic easily find architectural defect Adv Most important & high risk component first Integrate all in time Integrate from bottom (use test driver) Integrate from top (use test stub) Desc Backbone Big-bang Bottom up Top down
    7. Test Cycle
      • Each test is consists of test cycle
      • Test cycle
        • Pre test - check up testability
        • Main test
        • Conformation test - check up the defect found in previous “Main test”
        • Regression test - check up the impact from change
      TEST CYCLE Pre Test Main Test Conformation Test Regression Test
    8. Test Process
    9. Test Process Master Test Plan Organization Policy Strategy Mgmt sub tests Acceptance Test Plan System Test Plan Integration Test Plan Unit Test Plan
      • Test plan
        • Define objective of Test and scope
        • Define Test strategy
        • Test estimation
        • Set up test organization
      • Test analysis and design
        • Evaluation test object & basis
        • Designing and prioritizing test case
        • Identify test
        • Identify & prepare test data
        • Designing test env & identify required infra & tools
        • Make test procedure
      • Test Implementation & Execution
        • Implement TC
        • Implement test script
        • Set up test environment
        • Pre Test
        • Run Test
        • Logging Test Result
      • Test Closure activity
        • Store test-ware into repository
        • Analyzing lesson learned for future test maturity
      • Evaluating exit criteria and reporting
        • Write a test summary report for stakeholders.
        • Assessing if more test are needed
      Test control Test mgmt & control Test monitoring & reporting
      • Test plan
        • Define objective of Test and scope
        • Define Test strategy
        • Test estimation
        • Set up test organization
      • Test analysis and design
        • Evaluation test object & basis
        • Designing and prioritizing test case
        • Identify test
        • Identify & prepare test data
        • Designing test env & identify required infra & tools
        • Make test procedure
      • Test Implementation & Execution
        • Implement TC
        • Implement test script
        • Set up test environment
        • Pre Test
        • Run Test
        • Logging Test Result
      • Test Closure activity
        • Store test-ware into repository
        • Analyzing lesson learned for future test maturity
      • Evaluating exit criteria and reporting
        • Write a test summary report for stakeholders.
        • Assessing if more test are needed
      Test control Test mgmt & control Test monitoring & reporting
      • Test plan
        • Define objective of Test and scope
        • Define Test strategy
        • Test estimation
        • Set up test organization
      • Test analysis and design
        • Evaluation test object & basis
        • Designing and prioritizing test case
        • Identify test
        • Identify & prepare test data
        • Designing test env & identify required infra & tools
        • Make test procedure
      • Test Implementation & Execution
        • Implement TC
        • Implement test script
        • Set up test environment
        • Pre Test
        • Run Test
        • Logging Test Result
      • Test Closure activity
        • Store test-ware into repository
        • Analyzing lesson learned for future test maturity
      • Evaluating exit criteria and reporting
        • Write a test summary report for stakeholders.
        • Assessing if more test are needed
      Test control Test mgmt & control Test monitoring & reporting
      • Test plan
        • Define objective of Test and scope
        • Define Test strategy
        • Test estimation
        • Set up test organization
      • Test analysis and design
        • Evaluation test object & basis
        • Designing and prioritizing test case
        • Identify test
        • Identify & prepare test data
        • Designing test env & identify required infra & tools
        • Make test procedure
      • Test Implementation & Execution
        • Implement TC
        • Implement test script
        • Set up test environment
        • Pre Test
        • Run Test
        • Logging Test Result
      • Test Closure activity
        • Store test-ware into repository
        • Analyzing lesson learned for future test maturity
      • Evaluating exit criteria and reporting
        • Write a test summary report for stakeholders.
        • Assessing if more test are needed
      Test control Test mgmt & control Test monitoring & reporting
    10. Test Plan
      • Test planning & control
        • Define activity of each testing level
        • Define milestone ,resource ,schedule.
        • Make a plan based on analyzed risk factor
        • Define test strategy based on risk
        • Define approach & techniques for testing (testing techniques, coverage, test item, test ware)
        • Must include time & resource for preparing testware
        • Define completion condition
      Define test scope objective Risk anal Set up strategy Estimate resource & time Planning PRE TEST TEST Monitoring Report
    11. Test Plan
      • Risk analysis
        • Risk = Likelihood * impact
        • Risk identification
          • Recommend < 36 identification .
          • Likelihood : Complexity, Implementation technical Level, Size,Developer skill
          • Impact : Biz impact
      Erik van neneendaal, Risk Based Testing, STAREAST,2006 factor Risk item Risk item factor factor factor Impact Likelihood Likelihood Impact STA (Severe Test Area) SSTA (Strong Test Area) FTA (Fundamental Test Area) ITA (Intensive Test Area)
    12. Test Plan
      • Risk based test strategy
      • Other strategies
        • Analytical approaches
        • Model based approaches
        • Methodical approaches
        • Dynamic and heuristic approaches
      ( Low Level Test) ( High Level Test) - Unit Test - Integration Test - System Test - Acceptance Test Likelihood Impact STA (Severe Test Area) SSTA (Strong Test Area) FTA (Fundamental Test Area) ITA (Intensive Test Area) Likelihood Impact STA (Severe Test Area) SSTA (Strong Test Area) FTA (Fundamental Test Area) ITA (Intensive Test Area)
    13. Test Analysis and Design
      • Test analysis
        • Review - test basis, testability
        • Identify test requirement & test data
        • Identify test infra & tools
      • Test design
        • Identify test condition
        • Test case specification
        • Define test procedure
    14. Test Analysis and Design
      • Design technique
        • Specification based
          • Equivalence partitioning, Boundary value analysis
          • Pairwise, Decision table testing
          • State transition testing, Usecase testing
        • Structure based
          • Control Flow Test
          • Basic Path Test – Based on Cyclomatic complexity (Edge – Node + 2P) P = number of connected component
          • Elementary comparision test – Based on MC/DC Coverage
          • * Coverage : Statement, Condition, Decision, Condition Decision Coverage, Modified Condition/Descision Coverage(MC/DC) , Multiple Condition Coverage
        • Experience based
          • Exploratory Testing – Adhoc testing, based on test charter, define timezone
          • Classification Tree method
          • CheckList
    15. Test Execution
      • Execution
        • Define serverity & priority
        • Develop TC,Test data,Test stub & driver,Test script,Test suite
      • Reporting
        • Logging expected result, real result
        • Current status
        • Time & resource usage
      • Defect tracking
        • Use Bug(Issue) tracking system ( Mantis,Bugzilla,JIRA,Trac)
        • Define tracking workflow
      Test Execution Test Report Defects Issue Tracking System Progress Report Test logs TEST DRIVER TEST STUB TARGET SYSTEM TEST CASE TESTING TOOL TEST DATA MODULE MODULE MODULE MODULE TEST SCRIPT TEST SUITE1 TEST SUITE2 TEST SIMULATOR
    16. Evaluating exit criteria and reporting
      • Test exit criteria
        • Coverage, Duration, number of unresolved defects
      • Test result report
        • Progress report
        • Release advice
        • Final report per Level
      • Matrix
        • Defects per KLOC, Days test effort per requirement, Unresolved defect impact analysis, Defects / Hour ,Cumulative defects / Day ,Test coverage / Day , Risk vs number of TC
    17. Test closure activities
      • Test closure activities
        • Evaluating
          • Evaluate test target
          • Evaluate test process for maturing next text
        • Final reporting
        • Store test-ware
    18. Static Testing
    19. Static testing techniques
      • Performed in Verification phase
        • Test with artifacts not a runtime software
        • Test by human
    20. Manual Review
      • Inspection
        • Objective : To find defects
        • Inspect artifacts
        • Lead by moderator
      • Walkthrough
        • Objective : Knowledge sharing
        • Knowledge transfer by author
      • Code review
        • Objective : Find defects and share knowledge
        • Lead by Programming Leader
      • Pair programming
        • XP
        • Lead by mentor or coworker
        • Share just “ONE” keyboard
      Formal action Informal action
    21. Static Analysis
      • Static Analysis
        • Test code or diagram with “static analysis tool”
        • Analysis
          • Can find syntax error or well known bugs
          • Validate naming rules
          • Can find dead code or missing parameter
          • Can analysis code complexity & dependency
        • Quality?
          • Not so smart
          • It need a rule and need a maturing
        • Easy to appeal your manager
        • Tools
          • Open source – PMD, Find Bugs
          • Commercial – Klockworks, Jtest etc.
    SlideShare Zeitgeist 2009

    + guest1f2740guest1f2740 Nominate

    custom

    1061 views, 2 favs, 0 embeds more stats

    Based on V-Model (Extention of Waterfall model). It more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1061
      • 1061 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 2
    • Downloads 183
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories