0

We are using TestNG for integration testing. is it possible to use the cucumber feature file layer on top of the testNG testcases to have the traceability of test scenarios?

2 Answers2

2

The simple answer is Yes. Here is example from Cucumber folks.

Slav Kurochkin
  • 444
  • 3
  • 9
0

Yes, although TestNG is in that scenario used more as a technical layer below Cucumber to run tests, rather than key component of test automation framework (as it is when it is used without Cucumber). You may find this post beneficial:

Reading parameter values from Testng.xml file in cucumber stepdefs

Community
  • 1
  • 1
automatictester
  • 2,436
  • 1
  • 19
  • 34