Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you explain how to handle webdriver, test data in parallel mode? #47

Closed
iam500 opened this issue May 3, 2018 · 3 comments
Closed
Labels

Comments

@iam500
Copy link

iam500 commented May 3, 2018

I have a junit cucumber selenium setup which is running single threadedly. If I use this jvm, how would i need to handle webdriver, test data(csv) files for parallel execution like threadlocal etc

@prashant-ramcharan
Copy link
Owner

Hi,

Take a look at the Courgette-JVM Example project.

This shows exactly how to use this library alongside Selenium.

Unless there are restrictions to the resources you trying to access, you wouldn't have an issue running your tests in parallel.

The library simply allows you to run all your features / scenarios independently of one another as each tests is executed in a separate JVM. You will not need to add any extra logic to your code.

@iam500
Copy link
Author

iam500 commented May 3, 2018

Ok. I am seeing Missing artifact io.github.prashant-ramcharan:courgette-jvm:pom:2.2.1 when i add the dependency.
will courgette run different test cases in parallel mode?

@prashant-ramcharan
Copy link
Owner

You need to refresh your project dependancies.

will courgette run different test cases in parallel mode? -- Yes, each test case will run independently in parallel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants