Connexions

Sections
You are here: Home » Content » Unit Testing with JUnit in DrJava

About: Unit Testing with JUnit in DrJava

Module by: Stephen Wong, Dung Nguyen. E-mail the authors

View content

Metadata

Name: Unit Testing with JUnit in DrJava
ID: m11707
Language: English (en)
Summary: Unit testing is a fundamental testing process in the development of object-oriented systems. The module is a primer on using the JUnit unit testing framework that is integrated into DrJava.
Subject: Science and Technology
Keywords: unit testing, JUnit, DrJava, OOP, OOD, object oriented programming, object oriented design
Document Type: -//CNX//DTD CNXML 0.5 plus MathML//EN
License: Creative Commons Attribution License CC-BY 1.0

Authors: Stephen Wong (swong@rice.edu), Dung Nguyen (dxnguyen@rice.edu)
Copyright Holders: Stephen Wong (swong@rice.edu), Dung Nguyen (dxnguyen@rice.edu)
Maintainers: Stephen Wong (swong@rice.edu), Dung Nguyen (dxnguyen@rice.edu)

Latest version: 1.4 (history)
First publication date: Dec 16, 2003 12:53 am US/Central
Last revision to module: Nov 9, 2004 11:23 am US/Central

Module XML: m11707_1.4.cnxml

Version History

Version: 1.4 Nov 9, 2004 11:23 am US/Central by Stephen Wong
Changes:
 Fixed typos assertEqual --> assertEquals

Version: 1.3 Jan 21, 2004 10:39 pm US/Central by Stephen Wong
Changes:
fixed typo

Version: 1.2 Jan 21, 2004 10:29 pm US/Central by Stephen Wong
Changes:
added extra para on doubles

Version: 1.1 Dec 16, 2003 7:58 pm US/Central by Stephen Wong
Changes:
Added initial content

How to Reuse and Attribute This Content

If you derive a copy of this content using a Connexions account and publish your version, proper attribution of the original work will be automatically done for you.

If you reuse this work elsewhere, in order to comply with the attribution requirements of the license (CC-BY 1.0), you must include

  • the authors' names: Stephen Wong, Dung Nguyen
  • the title of the work: Unit Testing with JUnit in DrJava
  • the Connexions URL where the work can be found: http://cnx.org/content/m11707/1.4/

See the citation section below for examples you can copy.

How to Cite and Attribute This Content

The following citation styles comply with the attribution requirements for the license (CC-BY 1.0) of this work:

American Chemical Society (ACS) Style Guide:

Wong, S.; Nguyen, D. Unit Testing with JUnit in DrJava, Connexions Web site. http://cnx.org/content/m11707/1.4/, Nov 9, 2004.

American Medical Assocation (AMA) Manual of Style:

Wong S, Nguyen D. Unit Testing with JUnit in DrJava [Connexions Web site]. November 9, 2004. Available at: http://cnx.org/content/m11707/1.4/.

American Psychological Assocation (APA) Publication Manual:

Wong, S., & Nguyen, D. (2004, November 9). Unit Testing with JUnit in DrJava. Retrieved from the Connexions Web site: http://cnx.org/content/m11707/1.4/

Chicago Manual of Style (Bibliography):

Wong, Stephen, and Dung Nguyen. "Unit Testing with JUnit in DrJava." Connexions. November 9, 2004. http://cnx.org/content/m11707/1.4/.

Chicago Manual of Style (Note):

Stephen Wong and Dung Nguyen, "Unit Testing with JUnit in DrJava," Connexions, November 9, 2004, http://cnx.org/content/m11707/1.4/.

Chicago Manual of Style (Reference, in Author-Date style):

Wong, S., & Nguyen, D. 2004. Unit Testing with JUnit in DrJava. Connexions, November 9, 2004. http://cnx.org/content/m11707/1.4/.

Modern Languages Association (MLA) Style Manual:

Wong, Stephen, and Dung Nguyen. Unit Testing with JUnit in DrJava. Connexions. 9 Nov. 2004 <http://cnx.org/content/m11707/1.4/>.