ch.epfl.lamp.grading

GradingReporter

Related Doc: package grading

class GradingReporter extends Reporter

Test report produced by the scala-grading consists of a json-serialized list of entries delimited by new lines.

For example for a test suite "Suite1" with tests "a" (weight 1) and "b" (weight 2) where second test failed and first one succeed one would get a following report:

Seq( SuiteStart("foo::3"), TestStart("foo::a::1"), TestSuccess("foo::a::1"), TestStart("foo::a::2"), TestFailure("foo::b::2", "FooBarException"), SuiteEnd("foo::3") )

Due to matching start/end records it's easy to tell if the thing crashed or not.

Linear Supertypes
Reporter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GradingReporter
  2. Reporter
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GradingReporter()

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def apply(event: Event): Unit

    Definition Classes
    GradingReporter → Reporter
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def exceptionString(e: Throwable): String

  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Reporter

Inherited from AnyRef

Inherited from Any

Ungrouped