qaf

How to run cucumber feature file from java code not from JUnit Runner

断了今生、忘了曾经 提交于 2019-11-29 11:09:07
I want to run cucumber feature file from java code. currently we are running form JUnit Runner package com.compareglobalgroup.testscript; import cucumber.api.CucumberOptions; import cucumber.api.testng.AbstractTestNGCucumberTests; @CucumberOptions(features = { "src/test/resources/feature/BB" }, glue = { "com.compareglobalgroup.stepdefs.BB", "com.compareglobalgroup.cucumber.hooks" }, plugin = { "json:cucumberreport/json/cucumberreport.json" }, tags = { "" + "@Test" }) public class TestRunnerBB extends AbstractTestNGCucumberTests { } I don't want to use this instead I want to run this using java

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

倖福魔咒の 提交于 2019-11-29 02:34:10
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 execute parallel at scenario/scenario outline level. By this way we want to minimize the execution time and utilize the cloud service at maximum level. I read this post , which claims one can run gherkin as QAF scenario so it will have features like run configuration, reporting, parallel execution, step listener . Before migrating, I want to know if anybody has tried or know any limitation as our test bed is very large. Yes

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

霸气de小男生 提交于 2019-11-27 17:03:01
问题 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 execute parallel at scenario/scenario outline level. By this way we want to minimize the execution time and utilize the cloud service at maximum level. I read this post, which claims one can run gherkin as QAF scenario so it will have features like run configuration, reporting, parallel execution, step listener . Before