به جمع مشترکان مگیران بپیوندید!

تنها با پرداخت 70 هزارتومان حق اشتراک سالانه به متن مقالات دسترسی داشته باشید و 100 مقاله را بدون هزینه دیگری دریافت کنید.

برای پرداخت حق اشتراک اگر عضو هستید وارد شوید در غیر این صورت حساب کاربری جدید ایجاد کنید

عضویت
جستجوی مقالات مرتبط با کلیدواژه

software testing

در نشریات گروه برق
تکرار جستجوی کلیدواژه software testing در نشریات گروه فنی و مهندسی
  • سجاد اسفندیاری، لیلا یوسفوند، عین الله پیرا، وحید رافع*
    لزوم افزایش استفاده از آزمون ترکیبی در نرم افزارهای امروزی به امری ضروری در توسعه نرم افزار تبدیل شده است. آزمون ترکیبی یا آزمون t-way راهکاری کارآمد در کاهش حجم مجموعه آزمون است به نحوی که می توان نرم افزار را با نمونه آزمون های کمتری مورد آزمون قرار داد. پوشش آرایه یکی از شاخه های مهم در آزمون ترکیبی است که انواع مختلفی دارد . راهکار های فراوانی برای تولید آن ارائه شده است که کارایی (سرعت) و بهره وری (اندازه آرایه) مناسبی را دارند. اما خلاء راهکار ای که هر دو خصوصیت کارایی و بهره وری را توامان داشته باشد به چشم می خورد. در این پژوهش سعی شده است با استفاده از الگوریتم جستجوی گرانشی و تغییر در نحوه انتخاب همسایه ها، موفق به تولید مجموعه آزمون بهینه شده ایم و هچنین با تغییر در ساختمان داده ها و وزن دهی به پارامترهای پوشش داده نشده سرعت تولید مجموعه آزمون را افزایش داده ایم. وزن دهی به پارامترهای پوشش داده نشده و تغییر در رفتار الگورتیم گرانشی سبب جستجوی هوشمندانه جهت یافتن نمونه آزمون های پوشش داده نشده، شده است. افزایش سرعت باعث شده است که راهکار پیشنهادی توان تولید مجموعه آزمون برای پیکربندی های بزرگ را داشته باشد و همچنین نتایج آزمون نشان می دهد که راهکار پیشنهادی از الگوریتم های مطرح مانند الگوریتم ژنتیک، الگوریتم جستجوی توده ذرات و حتی خود الگوریتم جستجوی گرانشی نتایج بسیار بهتری را دارد.
    کلید واژگان: آزمون ترکیبی، آزمون نرم افزار، الگوریتم جستجوی گرانشی
    S. Esfandyari, L. Yousofvand, E. Pira, V. Rafe *
    The need to increase the use of Combinatorial Testing (CT) in software testing has become a necessity in software development. CT is an efficient approach to reduce the size of the test suite so that the software can be tested with fewer test cases. Covering Array (CA) is one of the important branches in CT, which has different types. Many solutions have been provided for its production, which have appropriate efficiency (array size) and performance (speed). But there is a lack of a solution that has both efficiency and performance. In this research, we have tried to produce an optimized test suite(with the minimum number of test cases) by using the gravitational search algorithm(GSA) and changing the neighbor selection method. Also, by changing the structure of the data and giving weight to the parameters not covered, we have increased the speed of producing the test suite. The weighting of non-covered parameters and the change in the behavior of the gravity algorithm have caused a smart search to find non-covered test cases. This increase in speed has made the proposed solution capable of producing test suites for high-power configurations. Also, the evaluation results show that the proposed solution outperforms other popular algorithms such as the genetic algorithm, the particle mass search algorithm, and even the gravity search algorithm itself.
    Keywords: Software Testing, Combinatorial Testing (CT), Covering Array (CA), Gravitational Search Algorithm (GSA)
  • Sh. Moosavi, M. Vahidi-Asl *, H. Haghighi
    One of the most important, but tedious and costly tasks of the software testing process is test data generation. The challenge is finding approaches in which humans could generate test data through more attractive, faster, and cheaper ways. One approach is using Game with A Purpose in the process of test data generation. In our previous work, we introduced two games called Rings and Greenify, by which many inexpensive players, with no special technical abilities, become engaged in test data generation. Despite the promising results of Rings and Greenify, they have certain limitations and issues. In this paper, we present a new GWAP for test data generation, called QOTE, in order to improve the application of GWAP in test data generation for program units. QOTE provides a different game-play and has certain advantages compared to prior gamesc. Experimental results have shown that QOTE outperforms prior games from two aspects: game quality and capability of test data generation. We have conducted another experiment based on mutation analysis to further evaluate test data generation capabilities of QOTE compared to four automatic approaches and show that the test data generated by QOTE can reveal more failures compared to the mentioned automatic approaches.
    Keywords: Software testing, Test data generation, Game with a purpose, Human-based computation game
  • Meysam Valueian, Niousha Attar, Hassan Haghighi, Mojtaba Vahidi Asl *

    Using machine learning techniques for constructing automated test oracles have been successful in recent years. However, existing machine learning based oracles have deficiencies when applied to software systems with low observability, such as embedded software, cyber-physical systems, multimedia software programs, and computer games. This paper proposes a new black box approach to construct automated oracles which can be applied to software systems with low observability. The proposed approach employs an Artificial Neural Network (ANN) algorithm which uses input values as well as corresponding pass/fail outcomes of the program under test, as the training set. To evaluate the performance of the proposed approach, we have conducted extensive experiments on several benchmarks. The results manifest the applicability of the proposed approach to software systems with low observability as well as its higher accuracy in comparison to a well-known machine learning based method. We have also assessed the effect of different parameters on the accuracy of the proposed approach.

    Keywords: Software testing, Test Oracle, Machine learning, Embedded Software, neural networks
  • مجتبی وحیدی اصل*، محمدرضا دهقانی تفتی، علیرضا خلیلیان

    اولویت دهی آزمایه فنی است که اغلب برای کاهش هزینه های آزمون بازگشت نرم افزار استفاده شده است. فنون فعلی سعی کرده اند با کمک اطلاعات مختلف پوشش کد، قدرت آشکارسازی خطای هر آزمایه را تخمین بزنند و سپس با روشی ابتکاری آن ها را رتبه بندی نمایند. اما مطالعه ها نشان داده اند که پوشش هم بستگی قوی با سودمندی آزمایه ها و قدرت آن ها در آشکارسازی خطا ندارد. با تکیه بر مطالعه هایی که اثربخشی سنجه های کد را در پیش بینی خطاها نشان داده اند، حدس زده شد که می توان از اطلاعات حاصل از سنجه های کد برای طراحی فن موثری جهت اولویت دهی آزمایه ها بهره برداری نمود. برمبنای این فرضیه، در این مقاله فن جدیدی برای اولویت دهی پیشنهاد می شود که براساس امتزاج داده روی اطلاعات سنجه های پیچیدگی کد کار می کند. نوآوری این تحقیق این است که قدرت آشکارکنندگی خطای آزمایه ها را در اولویت دهی با نگاه جدیدی تخمین می زند. برای ارزیابی فن پیشنهادی، آزمایش هایی روی نسخه های خطادار هفت برنامه محک جاوا انجام داده شد. در آزمایش ها کارایی اولویت دهی اغلب حداقل70% برحسب متوسط درصد آشکارسازی خطا مشاهده شد که این نتیجه فرضیه ما را معتبر می نماید.

    کلید واژگان: آزمون نرم افزار، آزمون بازگشت، اولویت دهی آزمایه، سنجه های کد
    M. Vahidi-Asl *, M. R. Dehghani-Tafti, A. Khalilian

    Test case prioritization has been often used to alleviate the costs associated with software regression testing. Current techniques have attempted to estimate the fault exposing potential of test cases using code coverage information and rank them using a heuristic. However, studies show that coverage does not strongly correlate with the effectiveness and fault exposing potential of test cases. Relying on the results of studies that demonstrated the effectiveness of code metrics in fault prediction, we speculate that code metric information can be leveraged to design a new effective technique for test case prioritization. Based on our hypothesis, in this paper, a new prioritization technique is proposed that works based on data fusion on code complexity metrics. The novelty of our technique lies in its original viewpoint to estimate fault exposing potential of test cases in prioritization. To evaluate the proposed technique, we have conducted experiments on faulty versions of seven Java benchmarks. In the experiments, we often observed at least 70% performance in prioritization measured in terms of average percentage of fault detection, which validates our hypothesis.

    Keywords: Software testing, Regression Testing, test case prioritization, software metrics
  • مریم عسگری عراقی، وحید رافع*، اکرم کلایی
    آزمون نرم افزار یکی از فعالیت های اساسی در چرخه حیات توسعه نرم افزار است که نقش مهمی در کیفیت نرم افزار دارد. اغلب بیش از نیمی از هزینه و زمان توسعه نرم افزار، صرف آزمون آن می شود. بدیهی است که خودکارسازی آزمون و به طور ویژه تولید مورد آزمون که از کلیدی ترین فعالیت های این فرآیند است کمک شایانی در کاهش این هزینه خواهد داشت. آزمون مبتنی بر مدل، از جمله روش های موفق خودکارسازی آزمون است که از ابزارهای وارسی مدل نیز برای استخراج موارد آزمون بهره می برد. ازآنجاکه این ابزارها در اصل برای وارسی مدل طراحی شده اند نه برای تولید آزمون، پژوهش های ارائه شده در این زمینه با چالش هایی اساسی مانند انفجار فضای حالت و تکراری بودن بخش اعظمی از موارد آزمون روبرو هستند. در پژوهش جاری، راهکاری مبتنی بر الگوریتم جستجوی پرتو ارائه می کنیم که از روی توصیفات تبدیل گراف مسئله مجموعه آزمون تولید می کند. راهکار پیشنهادی نه تنها چالش های ذکر شده را بهبود می بخشد، بلکه مجموعه آزمونی با پوشش بالا و اندازه کم با صرف بودجه زمانی مطلوب تولید می کند. ما آن را در ابزار وارسی مدل GROOVE پیاده سازی کرده ایم. به منظور ارزیابی راهکار پیشنهادی، ما آن را با آزمون مبتنی بر وارسی مدل، راهبردهای مبتنی بر جستجو و آزمون تصادفی مقایسه کرده ایم. نتایج آزمایش ها روی چندین مطالعه موردی در حوزه سیستم های سرویس گرا، موید برتری روش پیشنهادی از نظر میزان پوشش، اندازه مجموعه آزمون و سرعت است.
    کلید واژگان: آزمون نرم افزار، تولید مورد آزمون، آزمون مبتنی بر مدل، الگوریتم جستجوی پرتو، سیستم تبدیل گراف
    M. Asgariaraghi, V. Rafe *, A. Kalaee
    Software testing is one of the key activities in software development life cycle that plays an important role in software quality. More than half of the software development costs and time are often spent on the test. Obviously, the automation of software testing, especially in generating test cases that is a key activity of this process, will dramatically reduce the costs. Among the prosperous testing techniques is model-based testing that utilizes model checker tools to automatically extract test cases. However, as these tools basically designed for model verification, not for test generation, the researches in the testing context are encountered with some major challenges such as state space explosion problem and duplication of the vast majority of test cases. In this paper, we propose a novel method using Beam-search algorithm for generating tests from systems specified through graph transformation specification. The popopsed approach not only improvs the mentioned challenges, but also generates the test suites with high coverage and low size in a desired time budget. We implemented it in the model checker tool GROOVE. To assess the efficiency of our approach, we compared it with model checker-assisted testing, search-based testing strategies and random testing. The empirical results over some case studies in the domain of service-oriented systems confirm it's superiority in terms of coverage size, test suit size and speed.
    Keywords: Software testing, test case generation, model-base testing, beam search algorithm, graph transformation system
  • M.H Tadayon *, M Valizadeh, A Bagheri
    Let G be a weighted digraph and s and t be two vertices of G. The reachability assurance (RA) problem is how to label the edges of G such that every path starting at s finally reaches t and the sum of the weights of the labeled edges, called the RA cost, is minimal. The common approach to the RA problem is pathfinding, in which a path is sought from s to t and then the edges of the path are labeled. This paper introduces a new approach, the marking problem (MP), to the RA problem. Compared to the common pathfinding approach, the proposed MP approach has a lower RA cost. It is shown that the MP is NP-complete, even when the underlying digraph is an unweighted directed acyclic graph (DAG) or a weighted DAG with an out-degree of two. An appropriate heuristic algorithm to solve the MP in polynomial time is provided. To mitigate the RA problem as a serious challenge in this area, application of the MP in software testing is also presented. By evaluating the datasets from various program flow graphs, it is shown that the MP is superior to the pathfinding in the context of test case generation.
    Keywords: Marking problem, Reachability assurance, Pathfinding, Software testing
  • M. Valizadeh, M.H. Tadayon *, A. Bagheri
    Let G be a weighted digraph and s and t be two vertices of G. The reachability assurance (RA) problem is how to label the edges of G such that every path starting at s finally reaches t and the sum of the weights of the labeled edges, called the RA cost, is minimal. The common approach to the RA problem is pathfinding, in which a path is sought from s to t and then the edges of the path are labeled. This paper introduces a new approach, the marking problem (MP), to the RA problem. Compared to the common pathfinding approach, the proposed MP approach has a lower RA cost. It is shown that the MP is NP-complete, even when the underlying digraph is an unweighted directed acyclic graph (DAG) or a weighted DAG with an out-degree of two. An appropriate heuristic algorithm to solve the MP in polynomial time is provided. To mitigate the RA problem as a serious challenge in this area, application of the MP in software testing is also presented. By evaluating the datasets from various program flow graphs, it is shown that the MP is superior to the pathfinding in the context of test case generation.
    Keywords: Marking problem, Reachability assurance, Pathfinding, Software testing
  • M. A. Saadtjoo, S. M. Babamir *
    Search-based optimization methods have been used for software engineering activities such as software testing. In the field of software testing, search-based test data generation refers to application of meta-heuristic optimization methods to generate test data that cover the code space of a program. Automatic test data generation that can cover all the paths of software is known as a major challenge.
    The paper establishes a new cost function for automatic test data generation, which can traverse the non-iterative paths of software control flow graphs. This function is later compared with similar cost functions proposed in other articles. The results indicate the superior performance of the proposed function. Still another innovation in this paper is the application of the Imperialist Competitive Algorithm in automatic test data generation along with the proposed cost function. Automatic test data generation is implemented through the Imperialist Competitive Algorithm as well as the Genetic and Particle Swarm Optimization Algorithms for three software programs with different search space sizes. The algorithms are compared with each other in terms of convergence speed, computational time, and local search. Test data generated by the proposed method has achieved better results than other algorithms in finding the number of non-iterative paths, the convergence speed and computational time with growing the searching space of the software's control flow graph.
    Keywords: software testing, Imperialist Competitive Algorithm (ICA), test data generation, Control Flow Graph (CFG), program complexity
  • وحید رافع*، سجاد اسفندیاری
    امروزه استفاده از الگوریتم های مبتنی بر هوش جمعی به همراه استراتژی آزمون T-ستونی[i] در حوزه تولید خودکار دنباله آزمون کمینه، افزایش یافته است. در این میان الگوریتم های جستجوی ژنتیک، الگوریتم مورچگان، شبیه سازی تبرید، ازدحام توده ذرات و الگوریتم جستجوی ممنوعه سهم به سزایی را دارند. اکثر این الگوریتم ها به دلیل داشتن ساختار پیچیده و استفاده از محاسبات دشوار قادر به تولید دنباله آزمون برای مقدار 3T> نمی باشند. در این پژوهش با ترکیب الگوریتم جستجوی تپه نوردی و الگوریتم جستجوی خفاش، دنباله آزمون بهینه با استفاده از استراتژی آزمون T-ستونی برای پیکربندی های مختلف تولید می شود. این راهکار قادر است که دنباله آزمون تا مقدار 10T= را نیز تولید کند. یکی از معیارهای ارزیابی تولید دنباله آزمون، اندازه آرایه تولیدشده است. در این پژوهش ضمن مقایسه راهکار پیشنهادی با جدیدترین الگوریتم های منتشرشده در حوزه تولید خودکار دنباله آزمون، برتری آن نیز نشان داده خواهد شد.
    کلید واژگان: آزمون نرم افزار، الگوریتم خفاش، الگوریتم تپه نوردی، تولید نمونه آزمون
    S. Esfandyari, V. Rafe*
    Nowadays using meta-heuristic algorithms besides T-way testing strategy is increasing to generate minimum test suites automatically. Genetic Algorithm, Ant Colony, Simulated Annealing, and Tabu Search play an important role in this regard. However, most of these algorithms cannot generate test suits efficiently for T>3 due to their complex structure and complicated computations. In this paper, we propose a hybrid approach using hill climbing and bat search algorithms to minimum test suit generation. Our proposed solution uses T-way strategy to test suit generation for different configuration of the system. The proposed solution can generate test suits up to T=10. Since one of the most important criterions for the evaluation of test suits is the array size, hence we compare our results with other existing approaches in terms of this criterion. Our results show that our proposed solution outperforms other approaches.
    Keywords: Software testing, bat algorithm, hill climbing algorithm, test case generation
  • Asghar Mohammadian*, Bahman Arasteh
    Systems of computers and their application in the lives of modern human beings are vastly expanding. In any kind of computer application، failure in computer systems can lead to a range of financial and mortal losses. Indeed، the major origin of software failure can be located in designing or implementing software. With regard to these statistics، 30% of the software projects have been prosperous and successful. The proposed method is intended to reduce the cost and time of testing and it focuses on enhancing the efficiency of software testing methods. In this paper، we investigated the effect of slicing techniques on the reduction rate of testing cost and time. The results of experiments show that we can cover a large number of program instructions، branches and paths by a small number of test cases in the sliced program.
    Keywords: Software testing, Cost, Program slicing, Coverage
نمایش نتایج بیشتر...
نکته
  • نتایج بر اساس تاریخ انتشار مرتب شده‌اند.
  • کلیدواژه مورد نظر شما تنها در فیلد کلیدواژگان مقالات جستجو شده‌است. به منظور حذف نتایج غیر مرتبط، جستجو تنها در مقالات مجلاتی انجام شده که با مجله ماخذ هم موضوع هستند.
  • در صورتی که می‌خواهید جستجو را در همه موضوعات و با شرایط دیگر تکرار کنید به صفحه جستجوی پیشرفته مجلات مراجعه کنید.
درخواست پشتیبانی - گزارش اشکال