|
10 | 10 |
|
11 | 11 | "testcases" : [
|
12 | 12 | // 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 |
14 | 14 | // free Java code coverage tool. This can be done alongside normal
|
15 | 15 | // instructor-provided JUnit test-based grading.
|
16 | 16 | {
|
|
80 | 80 | }
|
81 | 81 | ]
|
82 | 82 | }
|
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 |
| - |
129 | 83 | ]
|
130 | 84 | }
|
0 commit comments