Academia.eduAcademia.edu

Outline

Experiences evaluating the effectiveness of JML-JUnit testing

2004, ACM Sigsoft Software Engineering Notes

https://doi.org/10.1145/1022494.1022545

Abstract

This paper reports on the issues the authors encountered while evaluating the JML-JUnit unit testing strategy. Given a predefined set of parameter values, JML-JUnit can automatically provide unit tests for Java programs that have specifications. We present a mutation testing experiment that evaluates the effectiveness of this testing strategy, and the lessons learned from doing this experiment. We conclude that a benchmark will enable the testing research community to meaningfully assess testing approaches.

References (8)

  1. Kent Beck and Erich Gamma. Test-infected: pro- grammers love writing tests. In More Java gems, pages 357-376. Cambridge University Press, 2000. http://junit.org/.
  2. Chandrasekhar Boyapati, Sarfraz Khurshid, and Darko Marinov. Korat: Automated testing based on Java pred- icates. In Proceedings of the International Sympo- sium on Software Testing and Analysis, pages 123-133. ACM Press, 2002.
  3. Yoonsik Cheon and Gary T. Leavens. A simple and practical approach to unit testing: The JML and JU- nit way. In Boris Magnusson, editor, ECOOP 2002- Object-Oriented Programming, 16th European Confer- ence, Malaga, Spain, June 2002, Proceedings, volume 2374 of Lecture Notes in Computer Science, pages 231- 255. Springer-Verlag, 2002.
  4. Roong-Ko Doong and Phyllis G. Frankl. The ASTOOT approach to testing object-oriented programs. ACM Trans. Softw. Eng. Methodol., 3(2):101-130, 1994.
  5. Stephen H. Edwards. Black-box testing using flow- graphs: an experimental assessment of effectiveness and automation potential. Software Testing, Verification and Reliability, 10(4):249-262, 2000.
  6. Gary T. Leavens, Albert L. Baker, and Clyde Ruby. JML: A notation for detailed design. In Haim Kilov, Bernhard Rumpe, and Ian Simmonds, editors, Behav- ioral Specifications of Businesses and Systems, pages 175-188. Kluwer Academic Publishers, 1999.
  7. I. Moore. Jester a JUnit test tester. In M. Marchesi and G. Succi, editors, Proceedings of the 2nd Interna- tional Conference on Extreme Programming and Flexi- ble Processes in Software Engineering, 2001.
  8. Mahesh Babu Mungara. A method for sys- tematically generating tests from object-oriented class interfaces. Master's thesis, Virginia Tech, 2003. http://scholar.lib.vt.edu/theses/available/etd- 10252003-144535/.