Preview

Software Testing

Powerful Essays
Open Document
Open Document
4335 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Software Testing
A JOURNAL OF LTEX CLASS FILES, VOL. 6, NO. 1, JANUARY 2007

1

Enhancing Performance of Random Testing Through Markov Chain Monte Carlo Methods
Bo Zhou, Hiroyuki Okamura, Member, IEEE, and Tadashi Dohi, Member, IEEE
Abstract—In this paper, we propose a probabilistic approach to finding failure-causing inputs based on Bayesian estimation. According to our probabilistic insights of software testing, the test case generation algorithms are developed by Markov chain Mote Carlo (MCMC) methods. Dissimilar to existing random testing schemes such as adaptive random testing, our approach can also utilize the prior knowledge on software testing. In experiments, we compare effectiveness of our MCMC-based random testing with both ordinary random testing and adaptive random testing in real program sources. These results indicate that MCMC-based random testing can drastically improve the effectiveness of software testing. Index Terms—Software testing, Random testing, Adaptive random testing, Bayes statistics, Markov chain Monte Carlo.

!

1

I NTRODUCTION

Software testing, defined as the systematic execution of the software system with the aim of revealing failures, is an important phase to validate the correctness of software system. The activities of software testing consists of (i) making test cases and (ii) validating the behavior of software system by executing the test cases. In general, since we cannot validate all of the execution paths, software testing is performed with limited test cases. Thus the quality of test cases directly affects the quality of software products, and one of the quality attributes of test cases is the ability of detecting as-yet-undiscovered failures. A number of different test case generation methods were discussed in the software engineering research field. Random testing (RT) is one of the most classical software testing strategies. Although the RT is quite simple for implementation [1], it is often argued that RT is inefficient,

You May Also Find These Documents Helpful

  • Good Essays

    Generating minimal test cases for effective program test is a tool for generating test cases for a ‘c’ program. The main purpose of this tool is to automatically generate the minimum number of test cases for a given program to perform effective test on it. This document describes the software requirements for Test Case Generation tool.…

    • 1533 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Three step process 1. Explore the system. 2. Test for Vulnerability 3. Test for Exploitability.…

    • 542 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Answer: Its main priority is to detect the vulnurabilities on the tested systems such as follows:…

    • 692 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    Testing

    • 2231 Words
    • 9 Pages

    [Not marked as such, but probably after the etching Ritter, Tod und Teufel (1513) by Albrecht Dürer (1471-1528) - PA.]…

    • 2231 Words
    • 9 Pages
    Better Essays
  • Satisfactory Essays

    Testing

    • 1293 Words
    • 6 Pages

    While working in the Financial Aid field I have had the privilege of working with a number of different individuals of diverse backgrounds. I have come across people from all walks of life, including those with severe disabilities, individuals with limited resources, and even individuals with different cultural and ethical backgrounds. Each encounter has been unique in its own way with learning experiences that I have carried with me through my years of employment. Additionally when growing up I grew up in a very diverse area and have had personal experiences with working with people of various ethnicities, social, economical and physical backgrounds. Through the years I have learned to never judge a book by its cover and have learned that working with different types of people may have its challenges at times, but it is never impossible to work with different types of people regardless of their backgrounds. With my life experiences, both professionally and personally, working with such a broad range of individuals has assisted me in growing professionally and has shown me that I have the ability to work with just about anyone I come in contact with. As with anything in life, the effort and understanding that you apply to the situation is what you will get out of it. slfjsdfjlfjsldfjdlfkjas fj jfakfjfjaffjalkfj afjaflajfajfajfalsfjalfka kldfjafj akdfjafj;af ljdfafl;ajfWhile working in the Financial Aid field I have had the privilege of working with a number of different individuals of diverse backgrounds. I have come across people from all walks of life, including those with severe disabilities, individuals with limited resources, and even individuals with different cultural and ethical backgrounds. Each encounter has been unique in its own way with learning experiences that I have carried with me through my years of employment. Additionally when growing up I grew up in a very diverse area and have had personal experiences with working with people of various…

    • 1293 Words
    • 6 Pages
    Satisfactory Essays
  • Powerful Essays

    Software Engineering

    • 2867 Words
    • 12 Pages

    Any coherent and reasonable project must have some requirements that define what that project is supposed to do. The requirements are the basic steps in implementing a project. A requirement is an objective that must be met. There are several types of requirements such as price, performance and reliability objectives. Requirements are instructions describing what functions the project is supposed to provide, what characteristics the project is supposed to have, and what goals the project is supposed to meet. The shortage of requirements causes many problems in starting and implementing a project. This law states that this shortage of requirements is the main source in the failure of the project.…

    • 2867 Words
    • 12 Pages
    Powerful Essays
  • Good Essays

    Software Engineering

    • 985 Words
    • 4 Pages

    I have many goals in mind for my life. I want to graduate university, possibly go to graduate school, and obtain a career in which I am happy and satisfied. Yes, I know this sounds very cliché as many people want to obtain this kind of life. I don’t mind obtaining a “normal” happy life as long as I am happy with it. I am familiar with Maslow’s Hierarchy of Needs and I want to make sure I fulfill my lower needs before I start trying to achieve my goals. I have never actually applied the GIOADA process to my decision making in the past. After reading the document that describes the GIOADA process, I will start applying this process to future decisions I make in life. Also, as I look back at some of the big decisions I made previously, I wish I applied the GIOADA process in making these decisions. That would have allowed me to more strongly analyze all the processes of the decision making.…

    • 985 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    from the other). In order to do this we will be using various tests and…

    • 482 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Object-oriented programs involve many unique features that are not present in their conventional counterparts. Examples are message passing, synchronization, dynamic binding, object instantiation, persistence, encapsulation, inheritance, and polymorphism. Integration testing for such program is, therefore, more difficult than that for conventional programs. In this paper, we present an overview of current work on integration testing for object-oriented and/or concurrent programs, with a view to identifying areas for future research. We cover state-based testing, event based testing, fault-based testing, deterministic and reachability techniques, and formal and semiformal techniques.…

    • 9153 Words
    • 37 Pages
    Powerful Essays
  • Powerful Essays

    Usability Testing

    • 2651 Words
    • 17 Pages

     Lack of visibility of links at the footer of the home page (“library room…

    • 2651 Words
    • 17 Pages
    Powerful Essays
  • Satisfactory Essays

    In this article, we will discuss how using use cases to generate test cases can help launch the testing process early in the development lifecycle and also help with testing methodology.…

    • 556 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Key Recognition

    • 16242 Words
    • 65 Pages

    This report is submitted as partial fulfilment of the requirements for the Honours Programme of the School of Computer Science and Software Engineering, The University of Western Australia, 2005…

    • 16242 Words
    • 65 Pages
    Powerful Essays
  • Good Essays

    Software Development

    • 554 Words
    • 3 Pages

    A JTextField should be used to input the guess. As each guess is input, the background color should change to either red or blue. Red indicates that the user is getting “warmer,” and blue indicates that the user is getting “colder.” A JLabel should display either "Too High" or "Too Low" to help the user zero in on the correct answer. When the user gets the correct answer, "Correct!" should be displayed, and the JTextField used for input should be changed to be uneditable. A JButton should be provided to allow the user to play the game again. When the JButton is clicked, a new random number should be generated and the input JTextField changed to be editable.…

    • 554 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Business Plan for Hr Dept

    • 402 Words
    • 2 Pages

    m. Wish to establish a benchmark test on software, and train based on those results…

    • 402 Words
    • 2 Pages
    Satisfactory Essays