qmetry / qaf

Quality Automation Framework for web, mobileweb, mobile native and rest web-service using Selenium, webdrier, TestNG and Java Jersey
https://qmetry.github.io/qaf
MIT License
248 stars 136 forks source link

QAF BDD plugin for IntelliJ #217

Open eyalyovel2 opened 5 years ago

eyalyovel2 commented 5 years ago

I need the QAF BDD plugin for IntelliJ but I can find it only for eclipse. Does this plugin exist also for IntelliJ?

Thanks, Eyal Yovel

amitbhoraniya commented 5 years ago

For BDD syntax currently, there is no any plugin available for IntelliJ. As an alternative, I think you can use Cucumber Plugin for IntelliJ and use GherkinTestFactory provided by QAF.

kulin24 commented 5 years ago

Hi Amit,

Thanks for the help. We are using Gherkin Test Factory, but when we use the @QAFTestStep annotation for our step definitions then the cucumber plugin fails to recognize the implemented steps.

Do you think this is the expected behavior of Cucumber plugin with our @QAFTestStep annotation?

Thanks, Kulin

amitbhoraniya commented 5 years ago

@kulin24,

IntelliJ Cucumber plugin can not find @QAFTestStep annotations, it can find only cucumber-java annotations, this is expected behavior.

To resolve this there is only one option that you can build your custom plugin from cucumber-java plugin with required some minor changes. ;-)

kulin24 commented 5 years ago

Thanks for your inputs. :)

VigneshGuhan commented 3 years ago

Any plan on creating plugin for Intellij as it will be helpful? Also could you please share any resource to customize the cucumber- java plugin.

TasMatt commented 2 years ago

A plugin for Intellij would be greatly appreciated

coderrenish commented 1 month ago

Any help in getting the cucumber-java plugin to work with QAF?

cjayswal commented 1 month ago

You can use BDD2 with QAF-cucumber and cucumber plugin for IDE of your choice. BDD2 is supported by TestNG runner using BDDTestFactory2 and by cucumber runner using QAF-cucumber. When using QAF-cucumber you can also use cucumber step implementation.