Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Software Testing

C72974d450882ab94123786ccff3b62e?s=47 @hepidad
December 06, 2016

Software Testing

Brief Introduction about Software Testing.
(Teaching Materials)

C72974d450882ab94123786ccff3b62e?s=128

@hepidad

December 06, 2016
Tweet

Transcript

  1. Software Testing Irwan A .Kautsar, S.Kom., M.Kom., Ph.D

  2. Why software testing? • Computer is not smart, it only

    can count and do what you typed. • Software is written by people – people make mistakes. • Critical Software(SW) are zero failure tolerances. Ex: Medical Software. • Less Bug/Failure = less calls. • Business aspect: Avoid runaway Customer. 2 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  3. Software Testing Execute the software to meet with the requirements.

    3 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  4. Beta Version Pre final/release version or after development (fresh from

    the oven). Not similar with trial version. Can tested by customer. Seek the feedback. Other term: Release Candidate/Development version. 4 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  5. Why customer or user are involved? • Developer are not

    average user and expert at the technical aspect. • The best software are the best meet with user requirements. 5 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  6. Black Box Testing • Test the program specification or features.

    Example • Can user change the password? • Can user preview the inputs? 6 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  7. White box testing • Test the software when implemented. Shortly,

    check the outputs. Example: • Is correct when user type the name. And give the right output? • Is the salary counts correctly? 7 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  8. User acceptance testings. Test if the user are accept our

    software. 8 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  9. Pre-condition of testing • Browsers – IE, Firefox, Safari •

    O/S – Linux, Windows • Access Control – Logins, Roles • Test Data requirements • Date/Time considerations • Other document references 9 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  10. Example Test: System Test of input of numeric month into

    data field. Ref. Field/Button Action Input Expected Result Pass/Fail 001 Month Enter Data 0 Data rejected. Error Message 'Invalid Month' Fail 002 Month Enter Data 1 Data Accepted, January Displayed Pass 003 Month Enter Data 06 Data Accepted, June Displayed Pass 004 Month Enter Data 12 Data Accepted, December Displayed Pass 005 Month Enter Data 13 Data rejected. Error Message 'Invalid Month' Fail 10 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  11. Search Researcher Page Test Ref. Reqs Ref. Function Inputs Expected

    Result Actual Result Pass/Fail 2.001 REF0 03 Search Researche rs 1. Forenames = John 2. Surname = <Blank> 3. eMail = <Blank> All UCL researchers with forenames starting Pete displayed in alphabetic order, 23 records per page List comprises Name, Department, Occupation Type All data items hyperlinked 427 matches - paging working correctly, data displayed correctly and in reasonable time (5 secs) Pass 2.002 REF0 03 Search Researche rs 1. Forenames = <Blank> 2. Surname = Smith 3. eMail = <Blank> All UCL researchers with surnames starting Smith displayed in alphabetic order, 23 records per page List comprises Name, Department, Occupation Type All data items hyperlinked 61 matches - paging working correctly, data displayed correctly and in reasonable time (5 secs) Pass 11 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  12. Negative Testing • Testing the system using negative data –

    to generate exceptions that cause the software to fail • Going against knowledge of ‘How the system should work’ • For Example - Testing the password where it should be minimum of 8 characters - so test it using 7 and 9 characters • Emphasis on breaking not confirmation 12 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  13. Integration Testing Test if fits with the previous business process.

    13 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  14. Conclusion • Software Testing is important for increasing confidence that

    the software meets specification • To get the best results from testing certain fundamentals should be followed • Testing is part of software development • Different software testing techniques enhance our ability to test • Many different types of software testing exist – which we can combine into single test cases/scenarios 14 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  15. References Acceptance Testing for ROME (Pete Castle Test & Quality

    Manager) 15 Software Testing - Irwan A. Kautsar, S.Kom., M.Kom., Ph.D.
  16. Any question? 16 Software Testing - Irwan A. Kautsar, S.Kom.,

    M.Kom., Ph.D.