Thanks for a great product.

after testing on my local machine I am planning to deploy  Web-CAT on one of my server.


I juse need some information:

1. Can I disble choose partner option?

2. While generating reports I get error no template found kindly upload a template.

Where can I find template?


3.  While uploading Junit test cases for java there are three option, reference testcases, test cases in student area and supplementari=y test cases. Kindly explain








very nice...

very nice...

Stephen Edwards

Thanks for your questions.

Thanks for your questions.  Here are some answers:

> disable choose partner option

This is controlled in the "submission rules" for the assignment.  Go to Assignments->Properties and look up your assignment.  Look for the drop-down list labeled "Submission Rules:" under the "Grading Scheme for All Offerings".  This is where you set the policy for late submissions, late penalties or early bonuses, limits on number of submissions, and more.  Click the edit icon (the little gear) for your currently selected policy to edit it.  In the policy, uncheck the box labeled "Allow students to work with partners".

> Where can I find templates?

Templates for the reporting subsystem are created using BIRT within Eclipse.  I can post one or two here if you like. You can basically create any kind of report, extracting any kind of information that you want from what is stored internally within Web-CAT.  The one we use most often generates a CSV of all kinds of internal data from each submission (either all submissions for all students, or just the final graded submission for all students).

> While uploading JUnit test cases for Java there are three options

When you edit the JavaTddPlugin's configuration for an assignment, the configuration pages shows three separate "assignment-specific" configuration options, as well as a separate section of "Reusable Configuration Options".

The "assignment-specific options are options that apply only to that single assignment (i.e., you have to set these on each assignment you create).  The "reusable" options are options that you can name as a group, and then reuse across many assignments.  Think of the "reusable" options as the common options you'd like to "set up once" for your course, and then simply re-apply to new assignments over and over, without really changing them.

So, among the assignment-specific options, the first is the only option that includes reference tests: the "JUnit Reference Test Class(es)".  Here, you can specify a single JUnit test class, or even a whole directory of classes.

The other options are not for specifying tests, but for supplying additional content that would be *used* by your tests.  The "Supplemental Classes for Assignment" allows you to specify a jar file (or even a directory containing many jar files) that you would like to include on the classpath, both for compiling/running your student's code and for compiling/running the reference tests.  Often, people leave this empty (the default), since they don't have extra classes they need to include.  However, if you are using a particular external jar file for an assignment, this is where you would load it.

The "Data Files for Student" is for providing a file (or directory of files) that are not Java resources--just file(s) you would like to be included in the current working directory when student code is executed, and when reference tests are executed.  Again, people often leave this empty (the default).  However, suppose you have a specific data file (or image, or whatever) that you want to read in and use as input in a reference test ... you can put that here.  Alternatively, sometimes instructors give students test data files to use when they are developing/testing their work.  You might want those to be available for all students during testing, but it is wasteful if every student continually includes their own separate copies of these files in every single Web-CAT submission (huge amounts of file duplication on the server).  Instead, you can provide a single "shared" copy here, and then in the assignment's submission rules, explicitly exclude those common data files from student submissions (well, exclude them from submissions made through Eclipse, BlueJ, NetBeans, etc., by using a submission plug-in).

So, in most cases, instructors frequently specify JUnit reference test classes, but much less frequently use the other two options.  They are there for specific situations where addiitonal file(s) are needed for the assignment (either files containing Java code, or files used as plain resources).

Note that you can also provide common jar(s) in the reusable options, if you want them to be present for many/most of your assignments  The Assignment-Specific options are just a way to provide those files when they are only needed on one assignment, instead of on many.

Hope that helps!