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

/** Classes that implement `Reporter` are capable of running a test class,
  * given its name.
  *
  * See also: [[org.perl8.test.harness.MultiTestReporter]].
  */
trait Reporter {
  /** Runs the test class identifed by the fully qualified class name
    * `testName`.
    *
    * @return The exit code for the harness to use. Will be 0 on success.
    */
  def run (testName: String): Int
}