User Tools

Site Tools


junit-project-3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
junit-project-3 [2008/10/25 09:07] jtkorbjunit-project-3 [2008/10/25 09:18] jtkorb
Line 1: Line 1:
 ====== JUnit Testing in Project 3 ====== ====== JUnit Testing in Project 3 ======
  
-[[http://www.cs.purdue.edu/homes/cs190m/fall08/projects/project3-tests|Here]] are three JUnit classes to do unit testing on [[http://www.cs.purdue.edu/homes/cs190m/fall08/projects/project3|Project 3]] classes ''WordNode''''WordList'', and ''HashList''.+Here are three JUnit classes to do unit testing on the [[http://www.cs.purdue.edu/homes/cs190m/fall08/projects/project3|Project 3]] classes ''WordNode'', ''WordList'', and ''HashList''
 + 
 +  * ''WordNode'': ''[[http://www.cs.purdue.edu/homes/cs190m/fall08/projects/project3-tests/WordNodeTest.java|WordNodeTest.java]]'' 
 +  * ''WordList''''[[http://www.cs.purdue.edu/homes/cs190m/fall08/projects/project3-tests/WordListTest.java|WordListTest.java]]'' 
 +  * ''HashList'': ''[[http://www.cs.purdue.edu/homes/cs190m/fall08/projects/project3-tests/HastListTest.java|HashListTest.java]]''
  
 To use these classes, download them to your Project 3 source directory and launch them as JUnit test classes. To use these classes, download them to your Project 3 source directory and launch them as JUnit test classes.
Line 12: Line 16:
   java junit.textui.TestRunner $1   java junit.textui.TestRunner $1
  
-To run these three tests, you would type (at the UNIX command line prompt):+Then, to run these three tests, you would type (at the UNIX command line prompt):
  
-  javat WordNodeTest +  javat WordNodeTest 
-  javat WordListTest +  javat WordListTest 
-  javat HashListTest+  javat HashListTest
  
-If you have questions, a suggestion, or find a mistake in this process, please send me [[jtk@cs.purdue.edu|email]].+These three test cases report no errors when run against my version of Project 3, but I may have made some assumptions that you didn't.  If you have questions, a suggestion, or find a mistake in this process, please send me [[jtk@cs.purdue.edu|email]].
junit-project-3.txt · Last modified: 2008/10/25 09:20 by jtkorb