Cucumber Tutorial part 5 - How to create Cucumber Test Runner and Step Definition class

preview_player
Показать описание
This video gives you a complete insight about how to create a Cucumber TestRunner and StepDefinition class in eclipse IDE.
On completion of this video you can create your own TestRunner and StepDefinition class.
To watch Cucumber BDD Framework Tutorial videos you can click the link below:
FOLLOW ME ON SOCIAL MEDIA
Music Courtesy:
Рекомендации по теме
Комментарии
Автор

Create cucumber TestRunner and StepDefinition class in eclipse IDE
Topics Covered:
0:13 What is TestRunner class
?
0:58 Create a Cucumber TestRunner class
3:06 What is StepDefinition class
?
3:20 Create a Cucumber StepDefinition class


If it sounds interesting, make sure to join me by subscribing!

EasyLearnSpot
Автор

Hi
I like your videos, I am learning cucumber and webdriver io .can you make videos on webdriver io.i am beginner in automation. I like to know more about Testing.

priyaha
Автор

@RunWith(Cucumber.class)
@CucumberOptions(features =
, glue = {"stepdefinitions"}
, plugin = {"pretty", "html:target/cucumber"} )
public class TestRunner
{
}

In this Runner Class, if I use the absolute path for 'stepdefinitions' i.e - the browser is not responding.
But if I use only the folder name i.e 'stepdefinitions' - the browser opens and works fine.
Is there any specific reason for this ?

shankarraj
Автор

What does @Runwith(cucumber.class) mean in Cucumber BDD Framework.

shankarraj
welcome to shbcf.ru