com.mycila.testing.core.api
Interface TestContext


public interface TestContext

A context handles plugin management and hooks for a test. It can be used to put any attributes which are only available per test instance.

Author:
Mathieu Carbou (mathieu.carbou@gmail.com)

Method Summary
 Attributes attributes()
          Handle attributes of this Test Context, which can be shared amongst plugins
 Introspector introspector()
          Get the representation of this test
 com.mycila.plugin.spi.PluginManager<TestPlugin> pluginManager()
           
 

Method Detail

pluginManager

com.mycila.plugin.spi.PluginManager<TestPlugin> pluginManager()
Returns:
The plugin manager used for this test

introspector

Introspector introspector()
Get the representation of this test

Returns:
A Introspector instance for this test

attributes

Attributes attributes()
Handle attributes of this Test Context, which can be shared amongst plugins

Returns:
Attribute handler


Copyright © 2008-2011 Mycila. All Rights Reserved.