filmov
tv
Lecture15: Parallel Execution Challenges in Cucumber + Junit || Interview Question
Показать описание
🚀 In this tutorial, we'll dive deep in to understanding Parallel execution using Junit4 and associated challenges
🔍 Key Points:
📌 Problem statement: How to run test cases in parallel using Junit4
ac
📌 Solution:
1. Move feature files to be run in parallel under one folder
2. In Runner's Cucumber options feature section, point to above folder
3. convert Driver in to Thread Safe
4. run mvn test to run feature files in parallel
📌 Challenges:
Junit4 can run feature files in parallel not Scenarios in Parallel but in real time we need to run test cases in parallel.
Junit4 does not have capability of parallel execution, it relies on maven surefire plugin to run test cases in parallel
🚀Remediation:
-In next videos, we will discuss about How to integrate TestNG in Cucumber to run test cases in parallel.
🚀Additional Resources:
Link for Surefire:
📌Alternative attribute for multiple feature files:
useUnlimitedThreads
📌 Design Patterns Playlist:
Let us try to understand the same in the video.
If you're interested in improving your BDD testing skills and making your scenarios more organized and efficient, this video is a must-watch. Hit that "Subscribe" button and turn on notifications to stay updated with more BDD Cucumber tutorials and best practices!
Regards,
PrinceAutomationDestination
🔍 Key Points:
📌 Problem statement: How to run test cases in parallel using Junit4
ac
📌 Solution:
1. Move feature files to be run in parallel under one folder
2. In Runner's Cucumber options feature section, point to above folder
3. convert Driver in to Thread Safe
4. run mvn test to run feature files in parallel
📌 Challenges:
Junit4 can run feature files in parallel not Scenarios in Parallel but in real time we need to run test cases in parallel.
Junit4 does not have capability of parallel execution, it relies on maven surefire plugin to run test cases in parallel
🚀Remediation:
-In next videos, we will discuss about How to integrate TestNG in Cucumber to run test cases in parallel.
🚀Additional Resources:
Link for Surefire:
📌Alternative attribute for multiple feature files:
useUnlimitedThreads
📌 Design Patterns Playlist:
Let us try to understand the same in the video.
If you're interested in improving your BDD testing skills and making your scenarios more organized and efficient, this video is a must-watch. Hit that "Subscribe" button and turn on notifications to stay updated with more BDD Cucumber tutorials and best practices!
Regards,
PrinceAutomationDestination
Комментарии