-
Notifications
You must be signed in to change notification settings - Fork 0
Command Line
Launching code-grader from the command line:
java -cp code-grader.jar edu.odu.cs.zeil.codegrader.run.CLI [options]
Options are
-
-suitepathThe path to the test suite. (required)
-
-submissionspathPath to the directory containing student submission (required)
-
-recordingpathPath to the directory where student results will be recorded (required)
-
-isrcpathPath to the directory containing instructor-supplied source code (optional, defaults to gold directory)
- If the path is "-", no instructor-supplied source code is copied into the stage.
-
-goldpathPath to the directory containing a complete instructor solution. (optional)
- If neither
-isrcnor-goldare given, then no instructor-supplied code is copied into the stage. - If
-goldis given and-isrcis given as "-", then no instructor-supplied code is copied into the stage.
- If neither
-
-stagepathPath to directory where code will be staged for testing (optional, defaults to a location withing the recording directory)
-
-manualpathPath for directory containing scores for "tests" that are manually graded (optional)
-
-studentstudentIDRestricts grading to the single student whose identifier (optional, defaults to grading all students)
-
-testtestCaseNameRestricts grading to a single test case. (optional, defaults to grading all test cases)
-
-inPlaceInstead of copying the submitted assignment files and test data to a stage and recording directory, does all work within the submission directory. This is useful for packaging tests for students to run before submission.
- The
-submissionsdirectory is assumed to point directly to a student work directory instead of to a directory of submissions. - The
-submissionsdirectory is used as the staging area. - No Gold version is used.
- The
-recordingdirectory is set to the-suitedirectory (expected to be a directory within the-submissionsdirectory.
- The