JavaTddPlugin

Evaluating coverage of instructor-supplied code

Hello,

I would like to create an assignment with the following properties:

  1. Student submits JUnit tests for an instructor-supplied specification
  2. Web-CAT maintains an instructor's implementation of the specification
  3. Student code is evaluated for coverage of the instructor's implementation

Is there a way to do this with the JavaTDDPlugin?

 

thank you!

ivan.

How to debug an error with JavaTDDPlugin?

Hi, First, thanks for a great piece of software. I am planning to use it for automated testing/grading in a second year course I am teaching in September. I have successfully installed, created an assignment and graded an assignment on an installation on my laptop where I have admin privledges. I am now trying to get Web-CAT installed on one of our undergrad servers where it runs in user space. I have successfully installed Web-CAT and can create an assignment.

Added ability to exclude simple getters/setters

 

In TDD, programmers are usually advised not to test things that are "too simple to be broken", since there is no point in testing code that has no bugs.  While for totally green beginners there may be merit to testing even the simplest of methods, for seasoned programmers there isn't much point.

Updated ability to exclude simple exception handlers

The JavaTddPlugin uses Clover to instrument student code and measure how much of the code is executed by a student's tests.  For a while now, the JavaTddPlugin has supported an option to "exclude simple exception handlers" from coverage analysis, so that coverage of that code isn't required for students to receive 100% code coverage.

Syndicate content