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
junit-project-3 [2008/10/25 09:17] jtkorbjunit-project-3 [2008/10/25 09:20] (current) jtkorb
Line 3: Line 3:
 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''. 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'']] +  * ''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'']] +  * ''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'']]+  * ''HashList'': ''[[http://www.cs.purdue.edu/homes/cs190m/fall08/projects/project3-tests/HashListTest.java|HashListTest.java]]''
  
- +To use these classes, download them to your Project 3 source directory and launch them as JUnit test classes.  (How you do this depends on your IDE and environment.)
-To use these classes, download them to your Project 3 source directory and launch them as JUnit test classes.+
  
 For example, from the command line on Lore (or the MC cluster), you can use the ''javat'' command located in the ''/homes/cs190m/student_bin'' directory (which should be in your path).  The ''javat'' command is just a short shell script that sets the ''CLASSPATH'' environment variable, compiles the given test class, and uses the JUnit ''TestRunner'' class to run it: For example, from the command line on Lore (or the MC cluster), you can use the ''javat'' command located in the ''/homes/cs190m/student_bin'' directory (which should be in your path).  The ''javat'' command is just a short shell script that sets the ''CLASSPATH'' environment variable, compiles the given test class, and uses the JUnit ''TestRunner'' class to run it:
junit-project-3.1224951457.txt.gz · Last modified: 2008/10/25 09:17 by jtkorb