What do you mean by glue in Cucumber?

The glue is a part of Cucumber options that describes the location and path of the step definition file.


Test Runner file.

import org.junit.runner.RunWith;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import cucumber.api.testng.AbstractTestNGCucumberTests;
   features = "src/test/java/features",
public class TestRunner extends AbstractTestNGCucumberTests { }

Updated on: 11-Jun-2020

4K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started