Is it possible to migrate from cucumber-jvm to QAF?

后端 未结 2 1292
野趣味
野趣味 2020-12-16 05:58

we already have automated testcases using cucumber-gherkin feature files with WebDriver. Right now we are able to execute feature files parallel, however we are not able to

相关标签:
2条回答
  • 2020-12-16 06:37

    Yes, with QMetry Automation Framework you can execute parallel at scenario/scenario outline level with without any change in your feature files.

    If you have used any cucumber hooks it will not work. For that you can provide TestNG listener to achieve the same goal. You will get more listener support from TestNG and QAF listeners which may not be achievable with cucumber hooks.

    Another difference, which in fact not a limitation, is For execution instead of --tag you need to use TestNG groups filter and provide your tags as group. For Example:

    <groups>
        <run>
            <exclude name="@MyTag" />
        </run>
    </groups>
    

    Go ahead and give it try without any fear. For quick evaluation, you can download example and check. While using cucumber you will get many more features with QAF for execution as well as for new development of new test case like databean, data-providers, custom-components etc...

    0 讨论(0)
  • 2020-12-16 06:43

    Yes, we recently evaluated QMetry Automation Framework gherkin feature with one of our existing project where we have cucumber tests and it took us less than one hour to configure. It worked fine for us. For us we were using QAF for other projects (without cucumber) so we have good understanding of other features. If you are new it may take a day or two but for long term it is worth.

    0 讨论(0)
提交回复
热议问题