org.easetech.easytest.annotation
Annotation Type Provided


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Provided

A field level annotation that can be used in the test classes to load the Filed values from out side the test class, for example from a configuration file. The configuration file is provided to the test class using the TestConfigProvider annotation at the class level. The Test Config Provider class should have methods annotated with TestBean annotations and should be public

Author:
Anuj Kumar

Optional Element Summary
 String value
          The OPTIONAL name of the bean that should be loaded.
 

value

public abstract String value
The OPTIONAL name of the bean that should be loaded. If not provided then EasyTest framework tries to load the bean using the field's type. If the bean with Type is also not found, then the framework searches for bean which has the same name as the name of the field

Default:
""


Copyright © 2013. All Rights Reserved.