aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/scala/org/perl8/test/Test.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/org/perl8/test/Test.scala')
-rw-r--r--src/main/scala/org/perl8/test/Test.scala8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/scala/org/perl8/test/Test.scala b/src/main/scala/org/perl8/test/Test.scala
index a348871..9868174 100644
--- a/src/main/scala/org/perl8/test/Test.scala
+++ b/src/main/scala/org/perl8/test/Test.scala
@@ -6,5 +6,11 @@ trait Test {
/** Runs the test. The TAP stream will be written to Console.out and
* Console.err, so you can swap these out as required in order to parse it.
*/
- def run: Int
+ def run: Int =
+ runTests(false)
+
+ def runRaw: Int =
+ runTests(true)
+
+ protected def runTests (raw: Boolean): Int
}