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

skip to main content
research-article

JUnit 3.8 documented using collaborations

Published: 01 March 2008 Publication History

Abstract

This paper describes the design of the unit testing framework JUnit v3.8. The documentation technique employed is an enhanced version of collaboration-based design, also known as role modeling. In collaboration-based design, objects are viewed as playing multiple roles in different contexts, and different contexts are viewed as task specific collaborations. The documentation accounts for every method in the JUnit 3.8 framework by assigning it to a role. It thereby investigates whether roles and collaborations can serve as basic units of functionality provided by a design like a framework. Such a measure of functionality can serve multiple purposes, for example estimating implementation efforts or measuring complexity.

References

[1]
Kent Beck. Smalltalk Best Practice Patterns. Addison-Wesley, 1996.
[2]
Kent Beck and Erich Gamma. "JUnit: A Cook's Tour". Available from www.junit.org.
[3]
George Fairbanks, David Garlan, William L. Scherlis. "Design Fragments Make Using Frameworks Easier." In Proceedings of OOPSLA 2006. ACM Press, 2006. Pages 75-88.
[4]
Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. Design Patterns. Addison-Wesley, 1995.
[5]
Jan Hannemann and Gregor Kiczales. "Design Pattern Implementation in Java and AspectJ." In ACM SIGPLAN Notices, Volume 37, Issue 11 (November 2002). ACM Press, 2002.
[6]
Ralph E. Johnson. "Documenting Frameworks Using Patterns." In Proceedings of OOPSLA 1992. ACM Press, 1992. Pages 63--76.
[7]
Karl J. Lieberherr, David H. Lorenz, and Mira Mezini: "Building Modular Object-oriented Systems with Reusable Collaborations." Tutorial session at ICSE 2000.
[8]
Karl Lieberherr, David H. Lorenz, and Johan Ovlinger. "Aspectual Collaborations: Combining Modules and Aspects." The Computer Journal, 46 (5). Pages 542-565.
[9]
Harold Ossher, M. Kaplan, A. Katz, W. Harrison, V. Kruskal. "Specifying Subject-Oriented Composition." Theory and Practice of Object Systems, Volume 2, Number 3. Wiley & Sons, 1996.
[10]
Trygve Reenskaug et al. Working With Objects: The OORAM Software Engineering Method. Prentice Hall, 1995.
[11]
Dirk Riehle. Framework Design: A Role Modeling Approach. Dissertation No. 13509, ETH Zurich, 2000. Available from www.riehle.org/computer-science/research/dissertation.
[12]
Dirk Riehle and Thomas Gross. "Framework Design". In Proceedings of OOPSLA 1998. ACM Press, 1998. Available from www.riehle.org/computer-science/research.
[13]
UML 2.0. Unified Modeling Language. OMG, 2007. Available from www.uml.org.
[14]
Michael VanHilst and David Notkin. "Using Role Components to Implement Collaboration-based Designs." In Proceedings of OOPSLA 1996. ACM Press, 1996. Pages 359-369.
[15]
Rebecca Wirfs-Brock, Brian Wilkerson and Lauren Wiener. Designing Object-Oriented Software. Prentice-Hall, 1990.

Cited By

View all
  • (2014)Parameterized Test Using Formal Semantic of Program LanguageApplied Mechanics and Materials10.4028/www.scientific.net/AMM.519-520.387519-520(387-390)Online publication date: Feb-2014
  • (2011)JUnit framework: An interactive approach for basic unit testing learning in Software Engineering2011 3rd International Congress on Engineering Education (ICEED)10.1109/ICEED.2011.6235381(159-164)Online publication date: Dec-2011
  • (2010)Hidden dependencies in software systemsProceedings of the 2010 IEEE International Conference on Software Maintenance10.1109/ICSM.2010.5609657(1-10)Online publication date: 12-Sep-2010
  • 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 33, Issue 2
March 2008
98 pages
ISSN:0163-5948
DOI:10.1145/1350802
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 March 2008
Published in SIGSOFT Volume 33, Issue 2

Check for updates

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 02 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2014)Parameterized Test Using Formal Semantic of Program LanguageApplied Mechanics and Materials10.4028/www.scientific.net/AMM.519-520.387519-520(387-390)Online publication date: Feb-2014
  • (2011)JUnit framework: An interactive approach for basic unit testing learning in Software Engineering2011 3rd International Congress on Engineering Education (ICEED)10.1109/ICEED.2011.6235381(159-164)Online publication date: Dec-2011
  • (2010)Hidden dependencies in software systemsProceedings of the 2010 IEEE International Conference on Software Maintenance10.1109/ICSM.2010.5609657(1-10)Online publication date: 12-Sep-2010
  • (2009)Design pattern density definedProceedings of the 24th ACM SIGPLAN conference on Object oriented programming systems languages and applications10.1145/1640089.1640125(469-480)Online publication date: 26-Oct-2009
  • (2009)Design pattern density definedACM SIGPLAN Notices10.1145/1639949.164012544:10(469-480)Online publication date: 25-Oct-2009
  • (2008)Erlang testing and tools surveyProceedings of the 7th ACM SIGPLAN workshop on ERLANG10.1145/1411273.1411277(21-28)Online publication date: 27-Sep-2008

View Options

Get Access

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