How to use getgauge - 10 common examples

To help you get started, we’ve selected a few getgauge examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github google / earthenterprise / earth_enterprise / integration_test / step_impl / assets.py View on Github external
@step("Create map project  from layer ")
def create_map_project(project, layer):
  call(["/opt/google/bin/genewmapproject", "-o", os.path.join(MAP_PROJECT_PATH, project), os.path.join(MAP_LAYER_PATH, layer)],
       "Failed to create map project %s" % project)
github google / earthenterprise / earth_enterprise / integration_test / step_impl / assets.py View on Github external
@step("Create mercator imagery project ")
def create_merc_imagery_proj(project):
  do_create_imagery_proj(project, isMercator=True)
github google / earthenterprise / earth_enterprise / integration_test / step_impl / assets.py View on Github external
@step("Verify that the state of images for default project  is in ")
def verify_state_default_images_table(project, table):
  states = list_from_table(table)
  verify_state_default_images(project, states)
<table></table>
github google / earthenterprise / earth_enterprise / integration_test / step_impl / assets.py View on Github external
@step("Clean imagery resource ")
def clean_imagery_resource(resource):
  imagery_resource_operation("clean", resource)
github google / earthenterprise / earth_enterprise / integration_test / step_impl / assets.py View on Github external
@step("Create mercator imagery resource  from ")
def create_merc_imagery_resource(resource, srcPath):
  srcPath = os.path.join(get_src_data_path(), srcPath)
  do_create_imagery_resource(resource, srcPath, isMercator=True)
github google / earthenterprise / earth_enterprise / integration_test / step_impl / assets.py View on Github external
@step("Create map database  from imagery project  and map project ")
def create_map_database(database, imagery, mapProject):
  call(["/opt/google/bin/genewmapdatabase", "-o", os.path.join(DATABASE_PATH, database),
        "--imagery", os.path.join(IMAGERY_PROJECT_PATH, imagery),
        "--map", os.path.join(MAP_PROJECT_PATH, mapProject), "--mercator"],
       "Failed to create map database %s" % database)
github google / earthenterprise / earth_enterprise / integration_test / step_impl / assets.py View on Github external
@step("Create terrain project ")
def create_terrain_proj(project):
  call(["/opt/google/bin/genewterrainproject", "-o", os.path.join(TERRAIN_PROJECT_PATH, project)],
       "Failed to create terrain project %s" % project)
github google / earthenterprise / earth_enterprise / integration_test / step_impl / genewimageryresource.py View on Github external
@step("perform GEE new imagery resource having empty directory test")
def geenewimageryresourceNegativeCaseEmptyDir() :
   testDir = ""
   executeCommand(testDir)
   assert (doesKhassetFileExist(outputROOT+"/"+testDir) == False)
github google / earthenterprise / earth_enterprise / integration_test / step_impl / assets.py View on Github external
@step("Build vector resource ")
def build_vector_resource(resource):
  vector_resource_operation("build", resource)
github getgauge / gauge-python / tests / test_static_loader.py View on Github external
def test_loader_triple_quote_strings(self):
        content = dedent("""
            @step('''print hello &lt;&gt;''')
            def printf(arg1):
                print(arg1)
            """)
        load_steps(PythonFile.parse("foo.py", content))

        self.assertTrue(registry.is_implemented("print hello {}"))