Cucumber feature file Parallel Execution Java

Cucumber feature file Parallel Execution two way
One way to creating multiple runner class based on feature file or tag
Second way to automatically creating runner class

Пікірлер: 25

  • @manikantan2457
    @manikantan24573 жыл бұрын

    Hi sir Kindly make a video on Parallel Testing for Feature Files based on Tags for BDD Framework with Appium..

  • @nitiniit07
    @nitiniit074 жыл бұрын

    Thanks for this informative video, can you please make a video on Parallel Execution for Jbehave Stories as well

  • @nitiniit07

    @nitiniit07

    4 жыл бұрын

    Because I have the same requirement but I have used Jbehave instead of cucumber and I have tried my best to search the ways mentioned on Google for Jbehave parallel execution but nothing worked...

  • @neelpatil282
    @neelpatil2825 жыл бұрын

    As per your video and git repository code , I have setup my code, but I am getting error in pom file "Plugin execution not covered by lifecycle configuration: com.github.temyers:cucumber-jvm-parallel-plugin:5.0.0:generateRunners (execution: generateRunners, phase: validate)". Can you please help me to resolve?

  • @NirajGupta

    @NirajGupta

    5 жыл бұрын

    4.0.0 com.SeleniumCumber SeleniumCumber 0.0.1-SNAPSHOT jar SeleniumCumber maven.apache.org UTF-8 com.github.temyers cucumber-jvm-parallel-plugin 5.0.0 generateRunners validate generateRunners com.automation src/test/resources/featurefile/Module2 target/cucumber-parallel json,html ~@ignored org.apache.maven.plugins maven-compiler-plugin 3.1 1.8 1.8 org.apache.maven.plugins maven-surefire-plugin 2.19 7 true **/Parallel*IT.class junit junit 4.12 test org.seleniumhq.selenium selenium-java 3.8.1 info.cukes cucumber-junit 1.2.5 info.cukes cucumber-java 1.2.5 log4j log4j 1.2.17 org.apache.poi poi 3.17 org.apache.poi poi-ooxml 3.17 net.masterthought cucumber-reporting 3.20.0 com.github.mkolisnyk cucumber-runner 1.3.3 io.woo htmltopdf 1.0.5

  • @pravinrasal4431
    @pravinrasal44312 жыл бұрын

    Thank you sir. Can you provide any examole using gradle to execute scenario in parallel mode.

  • @NirajGupta

    @NirajGupta

    2 жыл бұрын

    Sorry I have not used Gradle too much.I will try

  • @pravinrasal4431

    @pravinrasal4431

    2 жыл бұрын

    @@NirajGupta okay

  • @johncarter-dy7uk
    @johncarter-dy7uk4 жыл бұрын

    Is it possible to run parallel on two devices (each have different feature file)

  • @NirajGupta

    @NirajGupta

    4 жыл бұрын

    yes using testng with cucumber

  • @manikantan2457

    @manikantan2457

    3 жыл бұрын

    @@NirajGupta Sir Can you Please Share any Git repo If its there available For TestNg BDD parallel For Appium

  • @Hello-Hickory
    @Hello-Hickory3 жыл бұрын

    Hi, How to implement Parallel execution with Cucumber Junit with Single Runner class ?

  • @NirajGupta

    @NirajGupta

    3 жыл бұрын

    create multiple runner class and then mention the runner class in surefire plugin. If you want to use docker then watch my docker video

  • @Hello-Hickory

    @Hello-Hickory

    3 жыл бұрын

    @@NirajGupta is it possible to implement with single runner class ?

  • @NirajGupta

    @NirajGupta

    3 жыл бұрын

    @@Hello-Hickory NO .Its not possible. since in cucumber driver class is single other wise multiple browser will open when stepdef in different different class.

  • @diwakarkumar2758
    @diwakarkumar27584 жыл бұрын

    Ur fork is not working it is starting tag defined in test runner class for execution not as u explained .Please help share ur testing.xml and test runner class

  • @NirajGupta

    @NirajGupta

    4 жыл бұрын

    I am using cucumber not testng

  • @diwakarkumar2758

    @diwakarkumar2758

    4 жыл бұрын

    @@NirajGupta ya it is not executing tag define in pom however it is executing from cucumber runner class

  • @NirajGupta

    @NirajGupta

    4 жыл бұрын

    @@diwakarkumar2758 fork is use to execute multiple runner class.if you want to override tag from runner class then you need to pass -Dcucumberoption= "--tag @test" as JVM argument

  • @rajeevkk2001
    @rajeevkk20015 жыл бұрын

    can you please share the git location of the code

  • @NirajGupta

    @NirajGupta

    5 жыл бұрын

    github.com/callnirajgupta/cucumberTraining

  • @NirajGupta

    @NirajGupta

    5 жыл бұрын

    github.com/callnirajgupta/CucumberSelenium

  • @sugusugan3291
    @sugusugan3291 Жыл бұрын

    How to rerun failed feature files bro ???

  • @NirajGupta

    @NirajGupta

    Жыл бұрын

    please watch this video--kzread.info/dash/bejne/apl4wcSgYcuXZrA.html&lc=UgwlcWxWpsPP8Z8Ebip4AaABAg

  • @NirajGupta
    @NirajGupta4 жыл бұрын

    Git URL-github.com/callnirajgupta/CucumberSelenium