aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/scala/org/perl8/test/harness/Reporter.scala
blob: bf818dbd6bfa6c5a9b37f5de4d668dc042a5f80b (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 [[org.perl8.test.harness.MultiTestReporter 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
}