Nothing Special   »   [go: up one dir, main page]

skip to main content
article

Experiences evaluating the effectiveness of JML-JUnit testing

Published: 01 September 2004 Publication History

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

[1]
Kent Beck and Erich Gamma. Test-infected: programmers 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 predicates. In Proceedings of the International Symposium 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 JUnit way. In Boris Magnusson, editor, ECOOP 2002--Object-Oriented Programming, 16th European Conference, 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, Behavioral 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 International Conference on Extreme Programming and Flexible Processes in Software Engineering, 2001.
[8]
Mahesh Babu Mungara. A method for systematically generating tests from object-oriented class interfaces. Master's thesis, Virginia Tech, 2003. http://scholar.lib.vt.edu/theses/available/etd-10252003-144535/.

Cited By

View all
  • (2015)Testing Business Processes Using TTCN-3Proceedings of the 17th International SDL Forum on SDL 2015: Model-Driven Engineering for Smart Cities - Volume 936910.1007/978-3-319-24912-4_18(252-267)Online publication date: 12-Oct-2015
  • (2014)Innovation and evolution in integrated web application testing with TTCN-3International Journal on Software Tools for Technology Transfer (STTT)10.1007/s10009-013-0278-x16:3(269-283)Online publication date: 1-Jun-2014
  • (2012)Automated Unit Testing of a SCADA Control SoftwareProceedings of the 2012 IEEE Fifth International Conference on Software Testing, Verification and Validation10.1109/ICST.2012.120(400-409)Online publication date: 17-Apr-2012
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM SIGSOFT Software Engineering Notes
ACM SIGSOFT Software Engineering Notes  Volume 29, Issue 5
September 2004
321 pages
ISSN:0163-5948
DOI:10.1145/1022494
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 September 2004
Published in SIGSOFT Volume 29, Issue 5

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 22 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2015)Testing Business Processes Using TTCN-3Proceedings of the 17th International SDL Forum on SDL 2015: Model-Driven Engineering for Smart Cities - Volume 936910.1007/978-3-319-24912-4_18(252-267)Online publication date: 12-Oct-2015
  • (2014)Innovation and evolution in integrated web application testing with TTCN-3International Journal on Software Tools for Technology Transfer (STTT)10.1007/s10009-013-0278-x16:3(269-283)Online publication date: 1-Jun-2014
  • (2012)Automated Unit Testing of a SCADA Control SoftwareProceedings of the 2012 IEEE Fifth International Conference on Software Testing, Verification and Validation10.1109/ICST.2012.120(400-409)Online publication date: 17-Apr-2012
  • (2011)An Empirical Evaluation of Assertions as OraclesProceedings of the 2011 Fourth IEEE International Conference on Software Testing, Verification and Validation10.1109/ICST.2011.50(110-119)Online publication date: 21-Mar-2011
  • (2011)An experimental assessment of module documentation-based testingInformation and Software Technology10.1016/j.infsof.2011.01.00553:7(747-760)Online publication date: 1-Jul-2011
  • (2010)An open-source tool for automated generation of black-box xunit test code and its industrial evaluationProceedings of the 5th international academic and industrial conference on Testing - practice and research techniques10.5555/1885930.1885944(118-128)Online publication date: 3-Sep-2010
  • (2010)An Open-Source Tool for Automated Generation of Black-Box xUnit Test Code and Its Industrial EvaluationTesting – Practice and Research Techniques10.1007/978-3-642-15585-7_11(118-128)Online publication date: 2010
  • (2009)Special section on advances in reachability analysis and decision proceduresInternational Journal on Software Tools for Technology Transfer (STTT)10.5555/3220882.322098711:2(85-94)Online publication date: 1-Apr-2009
  • (2009)Special section on advances in reachability analysis and decision procedures: contributions to abstraction-based system verificationInternational Journal on Software Tools for Technology Transfer10.1007/s10009-009-0100-y11:2(85-94)Online publication date: 4-Feb-2009
  • (2009)Integration Testing of Web Applications and Databases Using TTCN-3E-Technologies: Innovation in an Open World10.1007/978-3-642-01187-0_26(306-318)Online publication date: 2009
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media