Class TestSuiteProperties


  • public class TestSuiteProperties
    extends java.lang.Object
    The properties available to describe a test suite.
    • Constructor Summary

      Constructors 
      Constructor Description
      TestSuiteProperties()
      Create a property set with an empty list of grading options.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static TestSuiteProperties loadYAML​(java.io.File input)
      Load properties from a string.
      static TestSuiteProperties loadYAML​(java.lang.String input)
      Load properties from a string.
      void setSubmissionLockIn​(java.lang.String pathPattern)
      Set the path pattern that will be used to recognize that an assignment has been locked for a student (e.g., after viewing an on-line solution) so that subsequent submissions will not be accepted.
      java.lang.String toString()
      Render as a string (YAML).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • build

        public BuildProperties build
        Properties related to setup and build.
      • reportTemplate

        public java.lang.String reportTemplate
        Path to grade calculation spreadsheet.
      • assignment

        public java.lang.String assignment
        Assignment name.
      • dueDate

        public java.lang.String dueDate
        Date & time when assignment is due.
      • totals

        public boolean totals
        Should totals be reported (true by default) in grade reports? Can be turned off if the purpose of the report is feedback rather than evaluation.
      • submissionLock

        public SubmissionDateOptions submissionLock
        How to find when a submission was locked (subsequent submissions will be ignored or graded as zero).
      • latePenalties

        public int[] latePenalties
        List of late penalties, as a percentage per day. E.g., [10, 20, 100] means that a 10% penalty is assessed on the first day late, 20% on the second day, and 100% on all subsequent days. [0] would ignore lateness, assessing no penalties. [100] would mean that late submissions are not accepted - they are graded but will get a score of zero. This is the default.
    • Constructor Detail

      • TestSuiteProperties

        public TestSuiteProperties()
        Create a property set with an empty list of grading options.
    • Method Detail

      • toString

        public java.lang.String toString()
        Render as a string (YAML).
        Overrides:
        toString in class java.lang.Object
      • setSubmissionLockIn

        public void setSubmissionLockIn​(java.lang.String pathPattern)
        Set the path pattern that will be used to recognize that an assignment has been locked for a student (e.g., after viewing an on-line solution) so that subsequent submissions will not be accepted.
        Parameters:
        pathPattern - a pattern for a file path containing a date & time after which submissions cannot be accepted for a specific individual.