jdave.junit4
Class JDaveRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by jdave.junit4.JDaveRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable

public class JDaveRunner
extends org.junit.runner.Runner
implements org.junit.runner.manipulation.Filterable

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<?> testClass)
           
 
Method Summary
 void filter(org.junit.runner.manipulation.Filter filter)
           
 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<?> testClass)
Method Detail

getDescription

public org.junit.runner.Description getDescription()
Specified by:
getDescription in interface org.junit.runner.Describable
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

filter

public void filter(org.junit.runner.manipulation.Filter filter)
Specified by:
filter in interface org.junit.runner.manipulation.Filterable


Copyright ? 2009. All Rights Reserved.