Package com.spertus.jacquard.junittester
Annotation Interface GradedTest
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionA description of the defect detected by this test.booleanWhether to include the output in the test results.The name of the test.doubleThe number of points the test is worth.The visibility level of the test, which determines when the result is shown to the student whose code is being graded.
-
Element Details
-
name
String nameThe name of the test. If this is not set, the name of the test method will be used in the correspondingResult.- Returns:
- the name of the test
- Default:
- ""
-
description
String descriptionA description of the defect detected by this test.- Returns:
- the description
- Default:
- ""
-
points
double pointsThe number of points the test is worth.- Returns:
- the number of points the test is worth
- Default:
- 1.0
-
includeOutput
boolean includeOutputWhether to include the output in the test results.- Returns:
trueif the output should be included,falseotherwise
- Default:
- true
-
visibility
Visibility visibilityThe visibility level of the test, which determines when the result is shown to the student whose code is being graded.- Returns:
- the visibility level of the test
- Default:
- VISIBLE
-