Output-comparison testing in Java - How To?

I'm looking for output-comparison testing with Java programs.

The Cookbook page for Web-CAT has a section for a comparison-based plugin, but all the links in the section are dead ends.

I found (sorry, can't remember where) a pdf of slides for a CSEET 2013 presentation titled "Adding Software Testing to Programming Assignments" where the topic is mentioned on page 12 of the PDF. [Nice presentation BTW, both format and content]. The slides mention JUnit add-ons and the student.jar testing library.

  • Where can I find out more about the JUnit add-ons? Is there documentation anywhere? From the slides it looks extremely simple to do.
  • Is there API documentation for the student.jar library? I downloaded it and poked around inside it a bit but didn't come across anything looking like documentation. From the slides, it appears to have some useful utilities.

I'd like to do some output-comparison testing soon in my Java course (and eventually move them to other forms of testing). Output-comparison testing might also come in handy in my database course when we cover the Java databse API.

Any help is much appreciated!

  --Dwight Tuinstra
    Vermont Tech




Did you ever find a solution

Did you ever find a solution to this?


I am looking to use a simple output comparison plugin with webcat, but can't seem to find one anywhere.


Thanks in advance!