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

/** Classes that implement `Reporter` are capable of running a test class,
  * given its name.
  *
  * @see [[com.iinteractive.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
}