3 research outputs found

    PIT-HOM: an extension of pitest for higher order mutation analysis

    Get PDF
    Mutation testing is a well-known, effective, faultbased testing criterion. First order mutation introduces defects in the form of a single small syntactic change. While the technique has been shown to be effective, it has some limits. Higher order mutation, where the faults introduced include multiple changes, has been proposed as a way to address some of these limits. Although the technique has shown promising results, there is no practical tool available for the application and study of higher order mutation on Java programs. In this paper we present PIT-HOM, an extension of Pitest (PIT) for higher order mutation. Pitest is a practical mutation analysis tool for Java, applicable on real-world codebases. PITHOM combines mutants in a same class to create higher order mutants of user-defined orders, it runs the mutants and reports the results in an easy to process format. We validate PIT-HOM using two small Java programs and report its performance as well as some characteristics of the mutants it creates

    Demo: PIT a practical mutation testing tool for Java

    Get PDF
    Mutation analysis introduces program defects with the intend of verifying whether candidate tests are able to trigger anomalous behaviour. In case the tests can distinguish the defective behaviour from that of the original program, they are considered of good quality { otherwise developers need to design new tests. While, this method has been shown to be e ective, industry-scale code challenges its applicability due to the sheer number of mutants and test executions it requires. In this paper we present PIT, a practical mutation testing tool for Java, applicable on real-world codebases. PIT is fast since it operates on bytecode and optimises mutant executions. It is also robust and well integrated with development tools, as it can be invoked through a command line interface, Ant or Maven. PIT is also open source and hence, publicly available at http://pitest.org
    corecore