Пример #1
0
  public static void setAppEnvironmentVariables() throws Exception {
    // get environment variables
    app_package = Utils.getEnv("ROBO_APP_PACKAGE", app_package);
    if (app_package == null) {
      throw new Exception("ROBO_APP_PACKAGE is not set");
    }

    test_class = Utils.getEnv("ROBO_TEST_CLASS", test_class);
    if (test_class == null) {
      throw new Exception("ROBO_TEST_CLASS is not set");
    }

    test_runner = Utils.getEnv("ROBO_TEST_RUNNER", test_runner);
    if (test_runner == null) {
      throw new Exception("ROBO_TEST_RUNNER is not set");
    }
  }