An Improved Model-Based Technique for Generating Test Scenarios from UML Class Diagrams

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.

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.  


Author(s):  
Jonathan Jacky ◽  
Margus Veanes ◽  
Colin Campbell ◽  
Wolfram Schulte
Keyword(s):  

2014 ◽  
Vol 915-916 ◽  
pp. 459-463
Author(s):  
He Quan Zhang

In order to deal with the impact on traffic flow of the rule, we compare the influence factors of traffic flow (passing, etc.) into viscous resistance of fluid mechanics, and establish a traffic model based on fluid mechanics. First, in heavy and light traffic, we respectively use this model to simulate the actual segment of the road and find that when the traffic is heavy, the rule hinder the further increase in traffic. For this reason, we make further improvements to the model to obtain a fluid traffic model based on no passing and find that the improved model makes traffic flow increase significantly. Then, the improved model is applied to the light traffic, we find there are no significant changes in traffic flow .In this regard we propose a new rule: when the traffic is light, passing is allowed, but when the traffic is heavy, passing is not allowed.


2021 ◽  
Vol 3 (1) ◽  
pp. 121-134
Author(s):  
Jody Barata Dwi Pradipta ◽  
Augie David Manuputty

CV Ribka Furniture merupakan salah satu perusahaan yang bergerak di bidang perdagangan dan pembuatan furniture. Dalam kegiatan operasional gudang merupakan bagian yang penting. Namun proses data transaksi masih dilakukan secara manual. Sehingga beberapa kendala masih dialami, seperti kesalahan penginputan saat transaksi pada alat / bahan, yang mengakibatkan perbedaan dalam penginputan data. Penelitian ini dilakukan untuk membuat sistem informasi persediaan yaitu pengumpulan data alat dan transaksi material yang akan keluar masuk. Sistem informasi ini dibuat dengan menggunakan diagram UML (Unified Modeling Language) yaitu: use case diagram dan class diagram. Kemudian membuat desain antarmuka untuk proses implementasi dan pengujian sistem. Dengan pembuatan sistem informasi inventaris,  


Sign in / Sign up

Export Citation Format

Share Document