jdave.junit4
Class JDaveRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by jdave.junit4.JDaveRunner

public class JDaveRunner
extends org.junit.runner.Runner

The JDaveRunner is a JUnit4 test runner implementation for JDave specifications. Just tag your JDave specification class with the @RunWith(JDaveRunner.class) annotation and you're good to go!

Author:
Lasse Koskela

Constructor Summary
JDaveRunner(java.lang.Class<? extends jdave.Specification<?>> spec)
           
 
Method Summary
 org.junit.runner.Description getDescription()
           
 void run(org.junit.runner.notification.RunNotifier notifier)
           
 
Methods inherited from class org.junit.runner.Runner
testCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDaveRunner

public JDaveRunner(java.lang.Class<? extends jdave.Specification<?>> spec)
Method Detail

getDescription

public org.junit.runner.Description getDescription()
Specified by:
getDescription in class org.junit.runner.Runner

run

public void run(org.junit.runner.notification.RunNotifier notifier)
Specified by:
run in class org.junit.runner.Runner


Copyright ? 2008. All Rights Reserved.