Generating Class-Level Integration Tests Using Call Site Information
@article{Derakhshanfar2020GeneratingCI, title={Generating Class-Level Integration Tests Using Call Site Information}, author={Pouria Derakhshanfar and Xavier Devroey and Annibale Panichella and Andy Zaidman and Arie van Deursen}, journal={IEEE Transactions on Software Engineering}, year={2020} }
—Search-based approaches have been used in the literature to automate the process of creating unit test cases. However, related work has shown that generated tests with high code coverage could be ineffective, i.e., they may not detect all faults or kill all injected mutants. In this paper, we propose C LING , an integration-level test case generation approach that exploits how a pair of classes, the caller and the callee, interact with each other through method calls. In particular, C LING…
Figures and Tables from this paper
References
SHOWING 1-10 OF 79 REFERENCES
Using Coupling-Based Weights for the Class Integration and Test Order Problem
- Computer ScienceComput. J.
- 2009
New techniques and algorithms to solve the CITO problem are described, including improved edge weights to more precisely model the cost of stubbing, and the use of node weights, which allows more information to be used.
Test order for class-based integration testing of Java applications
- Computer ScienceFifth International Conference on Quality Software (QSIC'05)
- 2005
An improvement to existing class test ordering strategies by including coupling measures to reduce non-determinism and decrease the number of stubs to be produced, which is at the heart of component-based product line architectures.
The impact of test case summaries on bug fixing performance: an empirical investigation
- Computer SciencePeerJ Prepr.
- 2015
An approach which automatically generates test case summaries of the portion of code exercised by each individual test, thereby improving understandability, is proposed, which can complement the current techniques around automated unit test generation or search-based techniques designed to generate a possibly minimal set of test cases.
An analysis tool for coupling-based integration testing
- Computer ScienceProceedings Sixth IEEE International Conference on Engineering of Complex Computer Systems. ICECCS 2000
- 2000
The design and implementation of an analysis tool for measuring the amount of coverage achieved by a set of test data according to a previously defined coupling criteria is discussed, which can be used to support integration testing of software components.
Automated Test Data Generation for Coupling Based Integration Testing of Object Oriented Programs Using Evolutionary Approaches
- Computer Science2013 10th International Conference on Information Technology: New Generations
- 2013
This paper has proposed a novel approach for automated test data generation for coupling based integration testing of object oriented programs using genetic algorithm, which takes the coupling path as input, containing different sub paths, and generates the test data using Genetic algorithm.
An Integration Test Order Strategy to Consider Control Coupling
- Computer ScienceIEEE Transactions on Software Engineering
- 2021
The results show that considering the transitive relationship when generating class integration test orders can significantly reduce the stubbing cost for most programs and that the integration test order strategy obtains satisfactory results more quickly than other methods.
Do Automatically Generated Unit Tests Find Real Faults? An Empirical Study of Effectiveness and Challenges (T)
- Computer Science2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE)
- 2015
Three state-of-the-art unit test generation tools for Java (Randoop, EvoSuite, and Agitar) are applied to the 357 real faults in the Defects4J dataset and investigated how well the generated test suites perform at detecting these faults.
EvoSuite: automatic test suite generation for object-oriented software
- Computer ScienceESEC/FSE '11
- 2011
EvoSuite is presented, a tool that automatically generates test cases with assertions for classes written in Java code that applies a novel hybrid approach that generates and optimizes whole test suites towards satisfying a coverage criterion.
Interface Mutation: An Approach for Integration Testing
- EngineeringIEEE Trans. Software Eng.
- 2001
Comparing the error revealing effectiveness of these Interface Mutation-based test sets with same size randomly generated test sets, it is observed that in most cases Interface Mutations based test sets are superior.
Could I Have a Stack Trace to Examine the Dependency Conflict Issue?
- Computer Science2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE)
- 2019
Riddle, an automated approach that generates tests and collects crashing stack traces for projects subject to risk of dependency conflicts, combines condition mutation, search strategies and condition restoration and demonstrates the effectiveness and usefulness of Riddle.