Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

esting Strategies

221 views

Published on

  • Be the first to comment

  • Be the first to like this

esting Strategies

  1. 1. Types of Testing <ul><li>Inspection </li></ul><ul><ul><li>Formal group activities where participants manually examine code for occurrences of well-known errors, syntax, logic </li></ul></ul><ul><ul><ul><li>Where is the read next record </li></ul></ul></ul><ul><ul><ul><li>Dates </li></ul></ul></ul><ul><ul><ul><li>Negative Logic </li></ul></ul></ul><ul><ul><li>Function of the code is not tested </li></ul></ul>
  2. 2. Types of Testing <ul><li>Walkthroughs </li></ul><ul><ul><li>Manual check of the function of code </li></ul></ul><ul><ul><li>“Random” group of programmers </li></ul></ul><ul><ul><ul><li>Who selects the programmers </li></ul></ul></ul><ul><ul><ul><li>Should the BOSS be at the walk through </li></ul></ul></ul><ul><ul><li>Checks consistency of code with coding standards </li></ul></ul><ul><ul><li>When </li></ul></ul><ul><ul><ul><li>Before computer testing </li></ul></ul></ul><ul><ul><ul><li>After computer testing </li></ul></ul></ul>
  3. 3. Types of Testing <ul><li>Automated </li></ul><ul><ul><li>Unit </li></ul></ul><ul><ul><li>Integration </li></ul></ul><ul><ul><li>System </li></ul></ul><ul><ul><li>Volume </li></ul></ul><ul><ul><li>Acceptance </li></ul></ul>
  4. 4. Unit Testing <ul><li>Each module is tested alone in an attempt to discover any errors in its code </li></ul><ul><li>Test each line of code </li></ul>
  5. 5. Integration Testing <ul><li>The process of bringing together all of the modules that a program comprises for testing purposes. </li></ul><ul><li>Modules are typically integrated in a top-down incremental fashion </li></ul>
  6. 6. System Testing <ul><li>Bringing together of all of the programs that a system comprises for testing purposes in a top down fashion </li></ul><ul><li>Start with the control module </li></ul><ul><li>Stub testing </li></ul><ul><ul><li>Substitute generic code to test the lowest level modules </li></ul></ul>
  7. 7. Volume Testing <ul><li>Increase size of file </li></ul><ul><li>Increase number of users </li></ul><ul><li>Impact on storage/response issues </li></ul>
  8. 8. Stress Testing <ul><li>Tries to break the hardware system. </li></ul><ul><li>Impact on other systems </li></ul><ul><li>Problems with concurrent users </li></ul>
  9. 9. Recovery Testing <ul><li>Can a corrupt file be recreated? </li></ul><ul><ul><li>Amount of lost data </li></ul></ul><ul><li>Backing up of data </li></ul><ul><ul><li>Full versus Incremental </li></ul></ul><ul><ul><li>Timing </li></ul></ul><ul><ul><li>How long/how many of the backups should be saved? </li></ul></ul>
  10. 10. Acceptance Testing <ul><li>The process whereby actual users test a completed information system </li></ul>
  11. 11. Software Testing Methodology User Acceptance Testing Volume/Stress/Recovery Testing System Testing Integration Testing Unit Testing
  12. 12. Software Testing Issues <ul><li>Who should do the testing </li></ul><ul><ul><li>programmers </li></ul></ul><ul><ul><li>professional tester </li></ul></ul><ul><ul><li>the end user </li></ul></ul><ul><li>Testing Strategies: </li></ul><ul><ul><li>Top-Down </li></ul></ul><ul><ul><li>Bottom-Up </li></ul></ul><ul><ul><li>Black box </li></ul></ul><ul><ul><li>White box </li></ul></ul><ul><ul><li>Alpha </li></ul></ul><ul><ul><li>Beta </li></ul></ul>
  13. 13. Alpha/Beta Testing <ul><li>Alpha Testing </li></ul><ul><ul><li>Using simulation data </li></ul></ul><ul><li>Beta testing </li></ul><ul><ul><li>Using real data </li></ul></ul><ul><ul><li>Done by user in the user environment </li></ul></ul>
  14. 14. Test Scripts <ul><li>Using simulation data </li></ul><ul><li>Create a test case to ensure that each line of code will be tested </li></ul><ul><li>Registration example </li></ul><ul><ul><li>Invalid Social Security Number </li></ul></ul><ul><ul><li>Attempt to add a class with an invalid call number </li></ul></ul><ul><ul><li>Attempt to add a closed class </li></ul></ul><ul><ul><li>Invalid SSN (not a student) </li></ul></ul><ul><ul><li>Register for two classes at the same time </li></ul></ul><ul><ul><li>Register before you have the required cumulative hours </li></ul></ul>
  15. 15. Test Scripts <ul><li>Identify test case </li></ul><ul><li>Specify in detail desired outcomes of test case </li></ul><ul><li>Specify in detail actual outcomes of test case </li></ul><ul><li>Resolve discrepancies, if any </li></ul><ul><ul><li>Who should do this? </li></ul></ul><ul><ul><li>To whom should the discrepancy be reported? </li></ul></ul><ul><li>Log the results </li></ul>
  16. 16. Registration Example Test Scripts <ul><li>What would happen IF </li></ul><ul><ul><li>A valid SSN was keyed - but the student has no classes on the student class table </li></ul></ul><ul><ul><li>An invalid SSN was keyed </li></ul></ul><ul><ul><li>A valid SSN was keyed and </li></ul></ul><ul><ul><ul><li>The student has 4 classes </li></ul></ul></ul><ul><ul><ul><li>The student has 7 classes </li></ul></ul></ul><ul><ul><ul><li>The student has 10 classes </li></ul></ul></ul>

×