How to achieve BeforeSuite functionality in Cucumber

377 views
Skip to first unread message

Udaya Kumar Anem

unread,
Jul 1, 2016, 6:14:34 AM7/1/16
to Cukes

I am new to Cucumber and getting acquainted with it.


But in my framework i have @Before and @After methods, which executes before & after every scenario.


But i need to little cleaning before my scenarios getting executed. For that i want a similar functionality of @BeforeSuite from TestNG.


Can someone help to get the pointers about it?

Eric Kessler

unread,
Jul 1, 2016, 11:08:45 AM7/1/16
to Cukes
I'm guessing that you are using the Java flavor of Cucumber. There appears to have been some discussion on this in the past.


Eric K

Reply all
Reply to author
Forward
0 new messages