com.mycila.testing.core
Class Mycila

java.lang.Object
  extended by com.mycila.testing.core.Mycila

public final class Mycila
extends Object

Holds the current test context. The context holder contains the current test instance used for each call to plugin methods for preparing instance, before and after test execution.

You can safely use in your plugin this class to get from anywhere the current test TestContext

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

Method Summary
static TestContext context(Object testInstance)
           
static Execution currentExecution()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

context

public static TestContext context(Object testInstance)

currentExecution

public static Execution currentExecution()
Returns:
The current execution point


Copyright © 2008-2011 Mycila. All Rights Reserved.