Skip to content

Commit fd3bfa2

Browse files
authored
[Autograding] Remove commented out emma test from tutorial 10 (#30)
1 parent 2db47c6 commit fd3bfa2

File tree

1 file changed

+1
-47
lines changed

1 file changed

+1
-47
lines changed

examples/10_java_coverage/config/config.json

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
"testcases" : [
1212
// Furthermore, instructors can request students to write their own JUnit
13-
// test cases, and test coverage can be measured and graded using EMMA, a
13+
// test cases, and test coverage can be measured and graded using JaCoCo, a
1414
// free Java code coverage tool. This can be done alongside normal
1515
// instructor-provided JUnit test-based grading.
1616
{
@@ -80,51 +80,5 @@
8080
}
8181
]
8282
}
83-
/*,
84-
Sorry! Emma is no longer currently supported.
85-
// ------------------------------------------------------------------------------
86-
// COVERAGE USING EMMA
87-
{
88-
"title" : "EMMA - Instrument of Student Code, Run JUnit Tests, and Generate Coverage Report",
89-
"command" : "java -cp submitty_emma.jar emma instr -m overwrite -ip hw0",
90-
"points" : 10,
91-
"validation" : [
92-
{
93-
"method" : "EmmaInstrumentationGrader",
94-
"actual_file" : "STDOUT.txt",
95-
"deduction" : 0.0
96-
},
97-
{
98-
"method" : "MultipleJUnitTestGrader",
99-
"actual_file" : "STDOUT_0.txt"
100-
},
101-
{
102-
"method" : "errorIfEmpty",
103-
"actual_file" : "STDOUT_1.txt",
104-
"description" : "EclEmma report generation output",
105-
"deduction" : 0.0
106-
},
107-
{
108-
"method" : "EmmaCoverageReportGrader",
109-
"actual_file" : "emma_report.txt",
110-
"description" : "EclEmma coverage report",
111-
"coverage_threshold" : 90
112-
}
113-
]
114-
},
115-
{
116-
"title" : "EMMA - Instructor JUnit Tests",
117-
"command" : "java -noverify -cp submitty_junit.jar:submitty_hamcrest.jar:submitty_emma.jar:. org.junit.runner.JUnitCore hw0.test.FactorialTest",
118-
"points" : 6,
119-
"validation" : [
120-
{
121-
"method" : "JUnitTestGrader",
122-
"actual_file" : "STDOUT.txt",
123-
"num_tests" : 4
124-
}
125-
]
126-
}
127-
*/
128-
12983
]
13084
}

0 commit comments

Comments
 (0)