org.jboss.arquillian.junit.container
Class JUnitTestRunner

java.lang.Object
  extended by org.jboss.arquillian.junit.container.JUnitTestRunner
All Implemented Interfaces:
TestRunner

public class JUnitTestRunner
extends Object
implements TestRunner

JUnitTestRunner A Implementation of the Arquillian TestRunner SPI for JUnit.

Version:
$Revision: $
Author:
Aslak Knutsen, thomas.diesler@jboss.com

Constructor Summary
JUnitTestRunner()
           
 
Method Summary
 TestResult execute(Class<?> testClass, String methodName)
          Run a single test method in a test class.
protected  List<org.junit.runner.notification.RunListener> getRunListeners()
          Overwrite to provide additional run listeners.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitTestRunner

public JUnitTestRunner()
Method Detail

getRunListeners

protected List<org.junit.runner.notification.RunListener> getRunListeners()
Overwrite to provide additional run listeners.


execute

public TestResult execute(Class<?> testClass,
                          String methodName)
Description copied from interface: TestRunner
Run a single test method in a test class.

Specified by:
execute in interface TestRunner
Parameters:
testClass - The test case class to execute
methodName - The method to execute
Returns:
The result of the test


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.