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

    Test Case Selection in Test-Driven Development

    , Ph.D. Dissertation Sharif University of Technology Mafi, Zohreh (Author) ; Mirian Hosseinabadi, Hassan (Supervisor)
    Abstract
    The large number of unit tests produced in the test-driven development (TDD) method and the iterative execution of these tests extend the regression test execution time in TDD. This study aims to reduce test execution time in TDD. We propose a TDD-based approach that creates traceable code elements and connects them to relevant test cases to support regression test selection during the TDD process. Our proposed hybrid technique combines text and syntax program differences to select related test cases using the nature of TDD. We use a change detection algorithm to detect program changes. Our experience is reported with a tool called RichTest, which implements this technique. To evaluate our... 

    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... 

    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... 

    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... 

    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... 

    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... 

    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... 

    Testing of Workflow Engine Based Systems: A Model-Based Approach

    , M.Sc. Thesis Sharif University of Technology Farnoush, Mojtaba (Author) ; Mirian Hosseinabadi, Hassan (Supervisor)
    Abstract
    As the increased use of workflow engine based systems in various domains, quality assurance and testing them has become critical. The majority of these systems are designed and implemented by a workflow language, so testing these systems is highly dependent of workflow language. In this thesis the common domain of business processes is chosen. In this area, little researches have examined the implemened processes with the second version of BPMN modeling language, and most methods, examined another language called BPEL. For this reason and due to the increased use of BPMN language because of its unique characteristics, this study focuses on testing of systems implemented with this language.... 

    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%  

    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... 

    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... 

    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... 

    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... 

    An efficient method for nonlinear aeroelasticy of slender wings

    , Article Nonlinear Dynamics ; Volume 67, Issue 1 , 2012 , Pages 659-681 ; 0924090X (ISSN) Shams, S ; Sadr, M. H ; Haddadpour, H ; Sharif University of Technology
    2012
    Abstract
    This paper aims the nonlinear aeroelastic analysis of slender wings using a nonlinear structural model coupled with the linear unsteady aerodynamic model. High aspect ratio and flexibility are the specific characteristic of this type of wings. Wing flexibility, coupled with long wingspan can lead to large deflections during normal flight operation of an aircraft; therefore, a wing in vertical/forward-afterward/torsional motion using a third-order form of nonlinear general flexible Euler-Bernoulli beam equations is used for structural modeling. Unsteady linear aerodynamic strip theory based on the Wagner function is used for determination of aerodynamic loading on the wing. Combining these... 

    Efficient periodic clock calculus in latency-insensitive design

    , Article 2011 18th IEEE International Conference on Electronics, Circuits, and Systems, ICECS 2011, 11 December 2011 through 14 December 2011 ; Dec , 2011 , Pages 546-549 ; 9781457718458 (ISBN) Zare, M ; Hessabi, S ; Goudarzi, M ; Sharif University of Technology
    Abstract
    Communication wire delay between multiple blocks is becoming a critical issue in System on Chip (SoC) design. Scheduling-based Latency-Insensitive Design (LID) is a method to alleviate wire delays by utilizing a central scheduling scheme for periodic clock gating of the blocks. The scheduling scheme resides in shift registers as sequences of '1' and '0' bits. In many systems, these sequences are too long, and have large area overhead. This problem indisposes the implementation of the scheduling based protocol. This paper proposes an algorithm that finds sequences with shorter lengths in comparison with the prior algorithm. On synthetic/random test cases, the algorithm gives 45% reduction on... 

    Binary hybrid GA-PSO based algorithm for compression of hyperspectral data

    , Article 5th International Conference on Signal Processing and Telecommunication Systems, ICSPCS'2011, Honolulu, HI, 12 December 2011 through 14 December 2011 ; 2011 ; 9781457711800 (ISBN) Ghamisi, P ; Sepehrband, F ; Choupan, J ; Mortazavi, M ; Sharif University of Technology
    Abstract
    This paper introduces two new compression methods. One of these methods is adaptive and powerful for the compression of hyperspectral data, which is based on separating the bands with different specifications by the histogram analyzes and new version of Binary Hybrid GA-PSO (BHGAPSO) and compressing each one with a different manner. The new proposed methods improve the compression ratio of the JPEG standards and save storage space the transmission system. The proposed methods are applied on different test cases, and the results are evaluated and compared with some other compression methods, such as lossless JPEG and JPEG2000  

    A remedy for numerical oscillations in weakly compressible smoothed particle hydrodynamics

    , Article International Journal for Numerical Methods in Fluids ; Volume 67, Issue 9 , September , 2011 , Pages 1100-1114 ; 02712091 (ISSN) Fatehi, R ; Manzari, M. T ; Sharif University of Technology
    2011
    Abstract
    Weakly Compressible Smoothed Particle Hydrodynamics (WCSPH) can lead to non-physical oscillations in the pressure and density fields when simulating incompressible flow problems. This in turn may result in tensile instability and sometimes divergence. In this paper, it is shown that this difficulty originates from the specific form of spatial discretization used for the pressure term when solving the mass conservation equation. After describing the pressure-velocity decoupling problem associated with the so-called colocated grid methods, a modified approach is presented that overcomes this problem using a different discretization scheme for the second derivative of pressure. The modified... 

    Simple lossless and near-lossless medical image compression based on enhanced DPCM transformation

    , Article IEEE Pacific RIM Conference on Communications, Computers, and Signal Processing - Proceedings ; 2011 , Pages 66-72 ; 9781457702518 (ISBN) Sepehrband, F ; Mortazavi, M ; Ghorshi, S ; Choupan, J ; Sharif University of Technology
    2011
    Abstract
    Medical images include information about human body which are used for different purposes such as surgical and diagnostic plans. Compression of medical images is used in some applications such as profiling patient's data and transmission systems. Regard to importance of medical images information, lossless or near-lossless compression is preferred. Lossless JPEG, JPEG-LS and lossless version of JPEG2000 are few well-known methods for lossless compression. JPEG2000 is one of the latest and provides good compression ratio, however, it is complex [1]. In real time application which needs hardware implementation, low complex algorithm accelerates compression process. In this paper, a lossless... 

    Implementing a high-order accurate implicit operator scheme for solving steady incompressible viscous flows using artificial compressibility method

    , Article International Journal for Numerical Methods in Fluids ; Volume 66, Issue 8 , July , 2011 , Pages 939-962 ; 02712091 (ISSN) Hejranfar, K ; Khajeh Saeed, A ; Sharif University of Technology
    2011
    Abstract
    This paper uses a fourth-order compact finite-difference scheme for solving steady incompressible flows. The high-order compact method applied is an alternating direction implicit operator scheme, which has been used by Ekaterinaris for computing two-dimensional compressible flows. Herein, this numerical scheme is efficiently implemented to solve the incompressible Navier-Stokes equations in the primitive variables formulation using the artificial compressibility method. For space discretizing the convective fluxes, fourth-order centered spatial accuracy of the implicit operators is efficiently obtained by performing compact space differentiation in which the method uses block-tridiagonal...