Search in sources :

Example 1 with Gosu

use of gw.lang.Gosu in project cucumber-jvm by cucumber.

the class GosuBackend method loadGlue.

@Override
public void loadGlue(Glue glue, List<String> gluePaths) {
    this.glue = glue;
    GlueSource source = new GlueSource();
    for (String gluePath : gluePaths) {
        for (Resource glueScript : resourceLoader.resources(gluePath, ".gsp")) {
            source.addGlueScript(glueScript);
        }
    }
    Gosu gosu = new Gosu();
    gosu.start(source.toArgInfo());
}
Also used : Resource(cucumber.runtime.io.Resource) Gosu(gw.lang.Gosu)

Aggregations

Resource (cucumber.runtime.io.Resource)1 Gosu (gw.lang.Gosu)1