Loading...
Search for: test-case
0.004 seconds
Total 51 records

    Test case prioritization using test case diversification and fault-proneness estimations

    , Article Automated Software Engineering ; Volume 29, Issue 2 , 2022 ; 09288910 (ISSN) Mahdieh, M ; Mirian Hosseinabadi, S. H ; Mahdieh, M ; Sharif University of Technology
    Springer  2022
    Abstract
    Regression testing activities greatly reduce the risk of faulty software release. However, the size of the test suites grows throughout the development process, resulting in time-consuming execution of the test suite and delayed feedback to the software development team. This has urged the need for approaches such as test case prioritization (TCP) and test-suite reduction to reach better results in case of limited resources. In this regard, proposing approaches that use auxiliary sources of data such as bug history can be interesting. We aim to propose an approach for TCP that takes into account test case coverage data, bug history, and test case diversification. To evaluate this approach we... 

    Software Test Case Prioritization Based on Bug History

    , Ph.D. Dissertation Sharif University of Technology Mahdieh, Mostafa (Author) ; Mirian Hosseinabadi, Hassan (Supervisor)
    Abstract
    Regression testing, is one of the most effective software testing activities. Adding new test cases during project development to cover different aspects of software performance will increase the test suite’s size and the time and resources required to fully execute the test suite. To face this challenge, test case prioritization is considered as one of the main approaches. The software bug history is one of the useful information sources for improving software analysis solutions, which rarely been used in the field of test case prioritization. The aim of this research is to present algorithms for utilizing the software bug history along with other information sources to improve test case... 

    An ensemble-based predictive mutation testing approach that considers impact of unreached mutants

    , Article Software Testing Verification and Reliability ; Volume 31, Issue 7 , 2021 ; 09600833 (ISSN) Aghamohammadi, A ; Mirian Hosseinabadi, S. H ; Sharif University of Technology
    John Wiley and Sons Ltd  2021
    Abstract
    Predictive mutation testing (PMT) is a technique to predict whether a mutant is killed, using machine learning approaches. Researchers have proposed various methods for PMT over the years. However, the impact of unreached mutants on PMT is not fully addressed. A mutant is unreached if the statement on which the mutant is generated is not executed by any test cases. We aim at showing that unreached mutants can inflate PMT results. Moreover, we propose an alternative approach to PMT, suggesting a different interpretation for PMT. To this end, we replicated the previous PMT research. We empirically evaluated the suggested approach on 654 Java projects provided by prior literature. Our results... 

    An ensemble-based predictive mutation testing approach that considers impact of unreached mutants

    , Article Software Testing Verification and Reliability ; Volume 31, Issue 7 , 2021 ; 09600833 (ISSN) Aghamohammadi, A ; Mirian Hosseinabadi, S. H ; Sharif University of Technology
    John Wiley and Sons Ltd  2021
    Abstract
    Predictive mutation testing (PMT) is a technique to predict whether a mutant is killed, using machine learning approaches. Researchers have proposed various methods for PMT over the years. However, the impact of unreached mutants on PMT is not fully addressed. A mutant is unreached if the statement on which the mutant is generated is not executed by any test cases. We aim at showing that unreached mutants can inflate PMT results. Moreover, we propose an alternative approach to PMT, suggesting a different interpretation for PMT. To this end, we replicated the previous PMT research. We empirically evaluated the suggested approach on 654 Java projects provided by prior literature. Our results... 

    Generating Test Cases for Web-Based Programs Using Field Data

    , M.Sc. Thesis Sharif University of Technology Lotfi, Mahsa (Author) ; Mirian Hosseinabadi, Hassan (Supervisor)
    Abstract
    Generating and finding proper test cases is the most important task among software testing tasks. Lots of valuable information can be found in user interactions with web based applications. In this thesis, a method called "Hampa Karbar", will be presented, which consists of two main components, namely, "Request Tracker" and "Tester". Request Tracker is an aspect that can be woven into any methods of any kind of web based applications. This aspect will follow user serving methods to collect data for test cases. Then the second component, "Tester", will create and run test cases using collected data by the Request Tracker component. This method helps developers to find bugs which are hard to... 

    Modification of compressible smooth particles hydrodynamics for angular momentum in simulation of impulsive wave problems

    , Article Prediction and Simulation Methods for Geohazard Mitigation - Proceedings of the International Symposium on Prediction and Simulation Methods for Geohazard Mitigation, IS-KYOTO 2009, 25 May 2009 through 27 May 2009 ; 2009 , Pages 201-206 ; 9780415804820 (ISBN) Mansour Rezaei, S ; Ataie Ashtiani, B ; Sharif University of Technology
    Abstract
    In this work, Compressible Smooth Particles Hydrodynamics (C-SPH) is applied for numerical simulation of impulsive wave. Properties of linear and angular momentum in SPH formulation are studied. Kernel gradient of viscous term in momentum equation is corrected to ensure preservation of angular momentum. Corrected SPH method is used to simulate solitary Scott Russell wave and applied to simulate impulsive wave generated by two-dimensional under water landslide. In each of test cases, results of corrected SPH are compared with experimental results. The results of the numerical simulations and experimental works are matched and a satisfactory agreement is observed. Furthermore, vorticity... 

    MBT in agile/lightweight processes: A process-centred review

    , Article IET Software ; Volume 13, Issue 5 , 2019 , Pages 327-337 ; 17518806 (ISSN) Taromirad, M ; Ramsin, R ; Sharif University of Technology
    Institution of Engineering and Technology  2019
    Abstract
    This study presents a process-driven view on the use of model-based testing (MBT) in agile/lightweight processes. It argues that process-related aspects of MBT and agile processes should be explicitly considered in any practical MBT approach intended for use in agile development (AD). It demonstrates that an effective MBT approach for lightweight processes has to specify how MBT activities are integrated into a development process, how and when MBT artefacts are generated in relation to other development artefacts, and who would carry out MBT activities. Accordingly, a set of integration criteria is introduced for complete incorporation of MBT into agile/lightweight processes. The... 

    Tailoring Software Testing Techiques for Product Line Engineering

    , M.Sc. Thesis Sharif University of Technology Rezvan, Abolfazl (Author) ; Mirian-Hosseinabadi, Hassan (Supervisor)
    Abstract
    In industry it is usual to develop a family of similar software instead of a single one. Software product-line (SPL) engineering or family-based software engineering is an approach that tries to minimize needed effort and time-to-market and maximize quality of manufactured products through strategic planning for maximizing reuse among members of the family. On the other hand it is known that testing software is an indivisible part of software development process which requires considerable time and effort. With large number of products created from an SPL, it is obvious that testing should be conducted in such a way that needed effort does not maintain a linear relationship with number of... 

    Mbtdd: Model based test driven development

    , Article International Journal of Software Engineering and Knowledge Engineering ; Volume 22, Issue 8 , 2012 , Pages 1085-1102 ; 02181940 (ISSN) Sadeghi, A ; Mirian Hosseinabadi, S. H ; Sharif University of Technology
    2012
    Abstract
    Test Driven Development (TDD), as a quality promotion approach, suffers from some shortages that discourage its usage. One of the most challenging shortcomings of TDD is the low level of granularity and abstraction. This may lead to production of software that is not acceptable by the end users. Additionally, exploiting of TDD is not applicable in the enterprise systems development. To overcome this defect, we have merged TDD with Model Based Testing (MBT) and suggested a framework named Model Based Test Driven Development (MBTDD). According to TDD, writing test cases comes before programming, and based on our improved method of TDD, modeling precedes writing test cases. To validate the... 

    Using background knowledge and context knowledge in ontology mapping

    , Article Frontiers in Artificial Intelligence and Applications ; Volume 174, Issue 1 , 2008 , Pages 56-64 ; 09226389 (ISSN); 9781586038717 (ISBN) Fatemi, H ; Sayyadi, M ; Abolhassani, H ; Sharif University of Technology
    IOS Press  2008
    Abstract
    Recent evaluations of mapping systems show that lack of background knowledge, most often domain specific knowledge, is one of the key problems of mapping systems these days. In fact, at present, most state of the art systems, for the tasks of mapping large ontologies, perform not with such high values of recall (~ 30%), because they mainly rely on label and structure based similarity measures. Disregarding context knowledge in ontology mapping is another drawback that almost all current approaches suffer from. In this paper we use the semantic web as background knowledge and introduce a novel approach for capturing context knowledge from the ontology for improving mapping results. We have... 

    The ineffectiveness of domain-specific word embedding models for GUI test reuse

    , Article 30th IEEE/ACM International Conference on Program Comprehension, ICPC 2022, 16 May 2022 through 17 May 2022 ; Volume 2022-March , 2022 , Pages 560-564 ; 9781450392983 (ISBN) Khalili, F ; Mohebbi, A ; Terragni, V ; Pezze, M ; Mariani, L ; Heydarnoori, A ; Sharif University of Technology
    IEEE Computer Society  2022
    Abstract
    Reusing test cases across similar applications can significantly reduce testing effort. Some recent test reuse approaches successfully exploit word embedding models to semantically match GUI events across Android apps. It is a common understanding that word embedding models trained on domain-specific corpora perform better on specialized tasks. Our recent study confirms this understanding in the context of Android test reuse. It shows that word embedding models trained with a corpus of the English descriptions of apps in the Google Play Store lead to a better semantic matching of Android GUI events. Motivated by this result, we hypothesize that we can further increase the effectiveness of... 

    Test Cases Selection Based on the Software Source Code Features

    , M.Sc. Thesis Sharif University of Technology Tamadon, Mahdi (Author) ; Mirian Hossein Abadi, Hassan (Supervisor)
    Abstract
    Quality Assurance is one of the crucial steps in software production and should be repeated. These days, software companies are using continuous integration (CI) pipelines for building software and controlling software quality. Regression test, is a test which is performed after each change in software, to assess the quality of the software system and its ability to meet functional and non-functional needs. Each execution of this test, leads to infrastructure costs and a waste of time for the software development team. The reason is that the development team has to wait until the test is completed to ensure that the changes are correct. To reduce this cost, methods such as prioritizing and... 

    A Tool For Generating Test Cases from Formal Specification of Programs

    , M.Sc. Thesis Sharif University of Technology Mortezazadeh Jagargh, Iman (Author) ; Mirian Hosseinabadi, Hassan (Supervisor)
    Abstract
    The use of formal methods in the software development process has many advantages. One of the benefits is extracting test cases from formal specification with test coverage criteia. In this study, we tried to extracting control flow graph form Z language. Using this graph and control flow graph coverage criteria, test cases are derived from Z. A tool to automate the generation of test cases from Z also produced. This tool uses the CZT, describing formal language Z receives and uses the standard graph covers, set of test cases stems. Using mutants, the proposed method was evaluated by this method was able to achieve a score of 92%  

    A Semi-Automated Software Testing Using Input Space Partitioning

    , M.Sc. Thesis Sharif University of Technology Khanbaba, Younes (Author) ; Mirian Hosseinabadi, Hassan (Supervisor)
    Abstract
    It's impossible to check all inputs of a software program due to infinite input domain, therefore the domain should be somehow restricted. One popular approach to do so, is input space partitioning. In this approach, the input domain has been modeled and partitioned into some equivalent classes or blocks. Using these blocks, it's possible to select one sample from each one and reduce the number of test cases to a small desirable number. To automate this approach, it's essential to firstly define the software requirements specification in a well-defined machine understandable template, then with processing this document we can detect program’s functionality and testable functions. Our goal in... 

    Event-Driven Web Application Testing

    , M.Sc. Thesis Sharif University of Technology Habibi, Elahe (Author) ; Mirian Hossien Abadi, Hassan (Supervisor)
    Abstract
    There are different classes of event-driven softwares. These softwares include Graphical user interface, web application or embedded software. In these kinds of softwares, each user's action while using application is known as "event". The application responds to the action through changing behaviour and then waiting for another event. Testing software is the best way for checking the quality assurance of event-driven softwares. However, there are some problems as cause of creating lots of event sequences in testing these kinds of softwares. Therefore, many solutions are introduced for these problems. The goal of this report, is presenting new testing procedure for event-driven web... 

    Analysis and Evaluation of Routing Protocols Conformance Test

    , M.Sc. Thesis Sharif University of Technology Tabatabaee, Hosein (Author) ; Jahangir, Amir Hossein (Supervisor)
    Abstract
    Nowadays, one of the problems of network designers and users is the correctness of network equipment functionality. Since routers play an important role in information transfer between various networks and communicate with each other through a routing protocol, any violation of such protocol can result in the network's failure or defective transfer of data. Thus, being assured of the conformance of the implemented protocol in a router with what has been defined in the protocol's standard is of great significance. To this end, before using or exposing a router, network equipment testers should run protocol conformance tests on it and insure its correct functionality. This brings up the... 

    Analysis and Verification of a Routing Protocol Conformance Test Program

    , M.Sc. Thesis Sharif University of Technology Hosseini Shakib, Seyed Mostafa (Author) ; Jahangir, Amir Hossein (Supervisor)
    Abstract
    Routers play a key role in transferring information between various Networks. It is very important to make sure about the compatibility of OSPF in a router with its standard description. In this regard, before presenting or applying a router and also evaluating its performance, it is necessary to carry out conformance test with the help of network equipment testers Tester designers extract test cases from protocol standard description through non-formal ways and exam them on network equipment.
    In this thesis, a part of OSFP protocol has been modeled through colored Petri nets. In this regard, two sections of OSPF RFC have been model checked: neighbor state machine and data base... 

    Software Product Line Testing Optimization Based on Regression Test Techniques

    , M.Sc. Thesis Sharif University of Technology Mousavi Khoshdel, Narges Sadat (Author) ; Mirian Hosseinabadi, Hassan (Supervisor)
    Abstract
    A software product line is a set of products with common features. The design of this set is such that the core assets that are common features between products are implemented only once. All products in the product line use the core assets to reduce development costs. The number of products that can be produced in a software product line is exponential to the number of capabilities in the core assets and the set is very large, so the cost of testing the software product line will be very high. In the software product line testing, various methods have been provided to reduce costs, among which we can mention product prioritization and regression test techniques. In prioritization, the... 

    A Semi-Automated Software Test Case Generation for Test-driven Development

    , M.Sc. Thesis Sharif University of Technology Shojaei Yeganeh, Mohsen (Author) ; Mirian Hosseinabadi, Hassan (Supervisor)
    Abstract
    Test driven software development is one of the most important practices in agile software production. In this practice, the programmer must write appropriate test cases before implementing the desired program. That is, at first, he should know what the function of his desired program is, and then considering them, the test cases are implemented. The problem with this method is that the programmer may not have much experience in this work, and good test cases may not be produced, and at the same time, this work is very time-consuming. As a result, this method may be abandoned.In this thesis, an attempt is made to provide a systematic method to make the production of test cases for the program... 

    Numerical simulation of low-mach-number laminar mixing and reacting flows using a dual-purpose pressure-based algorithm

    , Article Numerical Heat Transfer, Part B: Fundamentals ; Volume 59, Issue 6 , Jun , 2011 , Pages 495-514 ; 10407790 (ISSN) Ebrahimi Kebria, H ; Darbandi, M ; Hosseinizadeh, S. F ; Sharif University of Technology
    2011
    Abstract
    Benefitting from an analogy between compressible and incompressible governing equations, a novel dual-purpose, pressure-based finite-volume algorithm is suitably extended to simulate laminar mixing and reacting flows in low-Mach-number regimes. In our test cases, the Mach number is as high as 0.00326. Definitely, such low-Mach-number flows cannot be readily solved by either regular density-based solvers or most of their extensions. To examine the accuracy and performance of the extended formulation and algorithm, we simulate two benchmark cases including the mixing natural-convection flow in a square cavity with strong temperature gradients and the premixed reacting flow through annuli with...