ch23 - Software testing Ian Sommerville 2004 Software...

Info icon This preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 23 Slide 1 Software testing
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 23 Slide 2 Objectives To discuss the distinctions between validation testing and defect testing To describe the principles of system and component testing To describe strategies for generating system test cases To understand the essential characteristics of tool used for test automation
Image of page 2
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 23 Slide 3 Topics covered System testing Component testing Test case design Test automation
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 23 Slide 4 The testing process Component testing Testing of individual program components; Usually the responsibility of the component developer (except sometimes for critical systems); Tests are derived from the developer’s experience. System testing Testing of groups of components integrated to create a system or sub-system; The responsibility of an independent testing team; Tests are based on a system specification.
Image of page 4
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 23 Slide 5 Testing phases
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 23 Slide 6 Defect testing The goal of defect testing is to discover defects in programs A successful defect test is a test which causes a program to behave in an anomalous way Tests show the presence not the absence of defects
Image of page 6
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 23 Slide 7 Testing process goals Validation testing To demonstrate to the developer and the system customer that the software meets its requirements; A successful test shows that the system operates as intended. Defect testing To discover faults or defects in the software where its behaviour is incorrect or not in conformance with its specification; A successful test is a test that makes the system perform incorrectly and so exposes a defect in the system.
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 23 Slide 8 The software testing process
Image of page 8
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 23 Slide 9 Only exhaustive testing can show a program is free from defects. However, exhaustive testing is impossible, Testing policies define the approach to be used in selecting system tests: All functions accessed through menus should be tested; Combinations of functions accessed through the same menu should be tested; Where user input is required, all functions must be tested with correct and incorrect input. Testing policies
Image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 23 Slide 10 System testing Involves integrating components to create a system or sub-system.
Image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern