140 likes | 240 Views
Improving the ICM Test Planning and Identification Qian Wu April 23,2010. Agenda. A good test model Current approach Problems New approach Benefits References. A Good Test Model :. can effectively combine a series of activities.
E N D
Improving the ICM Test Planning and Identification Qian Wu April 23,2010
Agenda • Agood test model • Current approach • Problems • New approach • Benefits • References 1
A Good Test Model : • can effectively combine a series of activities. • can adapt to each kind of software system with different functions. • can find errors in the software design as early as possible. 2
Current Approach • Test Plan and Cases • Test Procedures and Results • Regression Test Package 3
Test Cases could be identified by using the following structure: • Test Identifier: This identifies the test by a project unique identifier and test case name. It shall provide a brief description of the test • Test Level : describe the level at which the testing will be performed, for example, software item level or system performance (level of service) level. • Test Class : describe the type or class of the test that will be performed, for example, timing tests, erroneous tests, maximum capacity tests, etc. • Test Completion Criteria: list of completion criteria specific for this test identifier • Test Cases: A test case specification specifies inputs, expected results, and a set of execution conditions for a test item. For each test case, create a sub-heading using the following structure:Identify a test (one of the tests in the test set comprising the application testing addressed by this test description) by a project-unique identifier and provide the information specified below for the test. The name includes the identification of the applicable unit. There may be several test cases for one test identifier. 5
Current Approach Problems: • Develop test plan and test cases too late • Noenough detail in test case identifying 6
New Approach • Develop Condition tree • Develop Behavior tree 7
Condition tree ShieldsforFamilyBasic Condition CG1Account C11AccountID C12Password C13Status C14Role C15RealName C16EmployeeID C17Email CG2 … 9
New Approach 10
Behavior tree ShieldsforFamilyBasic Function BG1Login BG11Loginsuccessfully B111CorrectID B112CorrectPassword BG12FailureLogin B121IncorrectID B122IncorrectPassword B123DeactivateAccount BG2AddAccount … 11
Benefits • Developtestprocessearlierthencurrentapproach • Provide a guideline for test case identifying • More efficient in choosing the test cases of regression test 12
Reference • ICM http://greenbay.usc.edu/IICMSw/index.htm • Yongzhong Lu, ”Research on a Behavior-Based Software Test Process Model“, IEEE Transactions on Software Engineering, pp 114-117, 2008 • J. S. Gourlay, “A Mathematical Framework for the Investigation of Testing. IEEE Transactions on Software Engineering, vol. 12, pp. 1013-1022, 1983. • J. C. Huang, “An Introduction to Program Testing”, ACM Computing Surveys, vol. 7, no. 3, Sept. 1975, pp. 113-128.