Software Research and the Industry

Dirk Riehle's blog about everything computer science, applied and more

Software Research and the Industry header image 2

JUnit 3.8 Documented Using Collaborations

April 3rd, 2008 · 4 Comments · Publication, Research, Software Engineering

Author: Dirk Riehle

Keywords: JUnit 3.8 Documentation

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.

Reference: In Software Engineering Notes Volume 33, Issue 2 (March 2008), Article No 5. ACM Press, 2008.

Available as a PDF file.

Tags:

4 responses so far ↓

  • 1 wing // May 29, 2008 at 16:40

    I want to get a document!

  • 2 Dirk Riehle // May 30, 2008 at 12:10

    Please click on the link “PDF file” above.

  • 3 nikhil // Nov 21, 2008 at 01:28

    I appreciate your effort.the design pattern approach is nicely explained.

  • 4 Generating JUnit Test Cases Dynamically - Jorge Manrubia // Feb 8, 2009 at 03:26

    [...] tests cases dynamically is very simple. JUnit’s design itself is simple. This is one of the main reasons of why this framework is so successful. JUnit was [...]

Leave a Comment