Method of test scenario generation based on UML dynamic view

2009 ◽  
Vol 29 (5) ◽  
pp. 1385-1388
Author(s):  
Xin ZHAO ◽  
Lin-lan LIU ◽  
Hai-ping LUO ◽  
Xin FAN
Author(s):  
KAI H. CHANG ◽  
SHIH-SUNG LIAO ◽  
RICHARD CHAPMAN ◽  
CHUN-YU CHEN

This paper presents a method for test scenario generation based on formal specifications and usage profiles. It is a major component of a framework for testing object-oriented programs. In this framework, the requirements of a software system are formally specified. The anticipated application of the system is expressed in a usage profile, which is a state model that indicates the dynamic behavior of the system and execution probabilities for the behaviors. The state model is used as a guide to derive the anticipated operation scenarios. An enhanced state transition diagram is used to represent the state model, which incorporates hierarchy, usage and parameter information. Since the number of feasible scenarios can be extremely large, probability and importance criteria are used to select the most probable and important scenarios.


Author(s):  
Oluwatolani Oluwagbemi ◽  
Hishammuddin Asmuni

The foundation of any software testing process is test scenario generation. This is because it forecasts the expected output of a system under development by extracting the artifacts expressed in any of the Unified Modeling Language (UML) diagrams, which are eventually used as the basis for software testing. Class diagrams are UML structural diagrams that describe a system by displaying its classes, attributes, and the relationships between them. Existing class diagram-based test scenario generation techniques only extract data variables and functions, which leads to incomprehensible or vague test scenarios. Consequently, this chapter aims to develop an improved technique that automatically generates test scenarios by reading, extracting, and interpreting the sets of objects that share attributes, operations, relationships, and semantics in a class diagram. From the performance evaluation, the proposed model-based technique is efficiently able to read, interpret, and generate scenarios from all the descriptive links of a class diagram.


IEEE Access ◽  
2020 ◽  
Vol 8 ◽  
pp. 123398-123407
Author(s):  
Bingjian Yue ◽  
Shuming Shi ◽  
Shuo Wang ◽  
Nan Lin

2014 ◽  
Vol E97.D (5) ◽  
pp. 1109-1118
Author(s):  
Rogene LACANIENTA ◽  
Shingo TAKADA ◽  
Haruto TANNO ◽  
Morihide OINUMA

Author(s):  
Vikas Panthi ◽  
Durga Prasad Mohapatra

Model-based testing shows a significant role-play in the area of software testing. This paper presents a new automatic test scenarios generation technique using UML state machine diagram having composite states. The intention of this research is to generate test scenarios for concurrent and composite states in state machines using the proposed algorithm SMToTSG (State Machine To Test Scenarios Generation). We have prioritized the test scenarios using Firefly optimization algorithm. We have used state-based coverage criteria such as state, transition, transition pair coverage to evaluate the efficiency of the proposed algorithm. The proposed approach is useful for feasible test scenario generation. Generating exhaustive test scenarios for all concurrent interdependent sequences is very difficult. In this paper, we generate the important test scenarios in the presence of concurrency in composite models. After prioritization, we apply Average Percentage Fault Detection (APFD) metric to calculate the efficiency of the prioritized test scenarios.  


2016 ◽  
Vol 43 (9) ◽  
pp. 1015-1025
Author(s):  
Seungchan Back ◽  
Hyorin Choi ◽  
Byungjeong Lee ◽  
Jung-Won Lee

2017 ◽  
Author(s):  
Siddartha Khastgir ◽  
Gunwant Dhadyalla ◽  
Stewart Birrell ◽  
Sean Redmond ◽  
Ross Addinall ◽  
...  

2016 ◽  
Vol 329 ◽  
pp. 123-148 ◽  
Author(s):  
Edgar Sarmiento ◽  
Julio C.S.P. Leite ◽  
Eduardo Almentero ◽  
Guina Sotomayor Alzamora

Sign in / Sign up

Export Citation Format

Share Document