Tests the systems response to events as processing

  • No School
  • AA 1
  • 10

This preview shows page 9 - 10 out of 10 pages.

Tests the systems response to events as processing threads through the system Object interaction testing Tests sequences of object interactions that stop when an object operation does not call on services from another object ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 20 Slide 50 Scenario-based testing Identify scenarios from use-cases and supplement these with interaction diagrams that show the objects involved in the scenario Consider the scenario in the weather station system where a report is generated ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 20 Slide 51 Collect weather data ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 20 Slide 52 Weather station testing Thread of methods executed CommsController:request WeatherStation:report WeatherData:summarise Inputs and outputs Input of report request with associated acknowledge and a final output of a report Can be tested by creating raw data and ensuring that it is summarised properly Use the same raw data to test the WeatherData object ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 20 Slide 53 Testing workbenches Testing is an expensive process phase. Testing workbenches provide a range of tools to reduce the time required and total testing costs Most testing workbenches are open systems because testing needs are organisation-specific Difficult to integrate with closed design and analysis workbenches ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 20 Slide 54 A testing workbench
Image of page 9

Subscribe to view the full document.

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 20 Slide 55 Tetsing workbench adaptation Scripts may be developed for user interface simulators and patterns for test data generators Test outputs may have to be prepared manually for comparison Special-purpose file comparators may be developed ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 20 Slide 56 Key points Test parts of a system which are commonly used rather than those which are rarely executed Equivalence partitions are sets of test cases where the program should behave in an equivalent way Black-box testing is based on the system specification Structural testing identifies test cases which cause all paths through the program to be executed ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 20 Slide 57 Key points Test coverage measures ensure that all statements have been executed at least once. Interface defects arise because of specification misreading, misunderstanding, errors or invalid timing assumptions To test object classes, test all operations, attributes and states Integrate object-oriented systems around clusters of objects
Image of page 10

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

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes