Lecuture 13 Software Testing

Lecuture 13 Software Testing - SoftwareTesting TeresaXiaCai...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
CUHK, Spring 2007 Software Testing Software Testing Teresa Teresa  Xia Cai  Xia Cai
Background image of page 1

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

View Full DocumentRight Arrow Icon
CUHK, Spring 2007 Software Engineering / 9 - 2 Objectives 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
Background image of page 2
CUHK, Spring 2007 Software Engineering / 9 - 3 Topics covered Topics covered System testing Component testing Test case design Test automation
Background image of page 3

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

View Full DocumentRight Arrow Icon
CUHK, Spring 2007 Software Engineering / 9 - 4 The testing process 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.
Background image of page 4
CUHK, Spring 2007 Software Engineering / 9 - 5 Testing phases Testing phases Component testing System testing Software developer Independent testing team
Background image of page 5

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

View Full DocumentRight Arrow Icon
CUHK, Spring 2007 Software Engineering / 9 - 6 Testing process goals 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.
Background image of page 6
CUHK, Spring 2007 Software Engineering / 9 - 7 The software testing process The software testing process Design test cases Prepar e test data Run pr ogram with test da ta Compar e results to test cases Test cases Test data Test results Test repor ts Test case: spec of the inputs to test, the expected output from the       system, plus a statement of what is being test Test data: the inputs that have been devised to test the system
Background image of page 7

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

View Full DocumentRight Arrow Icon
Software Engineering / 9 - 8 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
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/28/2010 for the course CSC CSC2120 taught by Professor Xiacai during the Spring '07 term at CUHK.

Page1 / 51

Lecuture 13 Software Testing - SoftwareTesting TeresaXiaCai...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online