You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case someone wants to use cucumber lifecycle (scenario/step/hooks) with Testng, there needs to be factory similar to scenario factory that can leverage qaf BDD2, TestNG and cucumber features together.
At present if anyone want to use cucumber runner they can use cucumber cli or junit. For TestNG qaf bdd runner is recommended.
com.qmetry.qaf.automation.cucumber.runner.CucumberScenarioFactory can be used for cucumber test lifecycle with TestNG test lifecycle. It supports all cucumber options using properties
Example run configuration file:
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="QAF Demo" verbose="1">
<test name="Web-Suite" enabled="true">
<classes>
<class name="com.qmetry.qaf.automation.cucumber.runner.CucumberScenarioFactory" />
</classes>
</test>
</suite>
In case someone wants to use cucumber lifecycle (scenario/step/hooks) with Testng, there needs to be factory similar to scenario factory that can leverage qaf BDD2, TestNG and cucumber features together.
At present if anyone want to use cucumber runner they can use cucumber cli or junit. For TestNG qaf bdd runner is recommended.
Originally posted by @cjayswal in #9 (comment)
The text was updated successfully, but these errors were encountered: