All Downloads are FREE. Search and download functionalities are using the official Maven repository.

qa.justtestlah.base.BaseSteps Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.9-RC4
Show newest version
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