qa.justtestlah.base.BaseSteps Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of justtestlah-core Show documentation
Show all versions of justtestlah-core Show documentation
JustTestLah! is a JAVA test framework targeting projects that support multiple platforms, in particular Web, Android and iOS. It follows a BDD approach and allows testing against all platforms using the same feature files. JustTestLah's main aim is to make the configuration and the actual test code as easy as possible.
package qa.justtestlah.base;
import org.springframework.beans.factory.annotation.Autowired;
import qa.justtestlah.testdata.TestDataMap;
/** Base class for all steps. */
public class BaseSteps extends Base {
@Autowired private TestDataMap testDataMap;
protected T testdata(Class type) {
return testdata(type, "default");
}
protected String testdata(String name) {
// TODO: implement!
return testdata(String.class, name);
}
protected T testdata(Class type, String name) {
return testDataMap.get(type, name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy