Interface TestEnricher


public interface TestEnricher
SPI used to enrich the runtime test object.
Version:
$Revision: $
Author:
Aslak Knutsen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    enrich(Object testCase)
    Extension point to add features to the a Test class instance.

    IE.
    resolve(Method method)
    Extension point to add features to the test method arguments.

    IE.
  • Method Details

    • 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.

      Returns:
      A Object[] of Arguments