aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/scala/org/perl8/test/harness/MultiTestReporter.scala
blob: 8437c4a5443900bf633055e2bc4d246f502c95e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.perl8.test.harness

/** Classes that implement `MultiTestReporter` are capable of running a group
  * of test classes, given their names. This typically involves some sort of
  * summarization.
  *
  * @see [[org.perl8.test.harness.Reporter Reporter]].
  */
trait MultiTestReporter {
  /** Runs the test classes identifed by the list of fully qualified class
    * names `testNames`.
    *
    * @return The exit code for the harness to use. Will be 0 on success.
    */
  def run (testNames: Seq[String]): Int
}