Arquillian Test SPI 1.0.0.CR7

org.jboss.arquillian.test.spi
Interface TestEnricher


public interface TestEnricher

SPI used to enrich the runtime test object.

Version:
$Revision: $
Author:
Aslak Knutsen

Method Summary
 void enrich(Object testCase)
          Extension point to add features to the a Test class instance.
 Object[] resolve(Method method)
          Extension point to add features to the test method arguments.
 

Method Detail

enrich

void enrich(Object testCase)
Extension point to add features to the a Test class instance.

IE. Instance field injection

Parameters:
testCase - The test case instance

resolve

Object[] resolve(Method method)
Extension point to add features to the test method arguments.

IE. Argument injection

The return value Object[] must match the Field[] indexes. Leave Object[] index as null if it can't be handled by this TestEnricher.

Parameters:
method -
Returns:
A Object[] of Arguments

Arquillian Test SPI 1.0.0.CR7

Copyright © 2011 JBoss by Red Hat. All Rights Reserved.