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

When running cucumber tests with n=3 and param -s we observe thread not running tests. #814

Open
gpapat26 opened this issue Apr 9, 2021 · 1 comment

Comments

@gpapat26
Copy link

gpapat26 commented Apr 9, 2021

Hello

I am observing output for single thread allways , while other 2 are working:
[exec] 0 scenarios
[exec] 0 steps
[exec] 0m0.000s

I usually run something like :

bundle exec parallel_cucumber n=3 -i -s 'some_deep_nested_folder' -o '-p ${cucumber.profile} -t ${cucumber.tag}' features " />

When i m running with the parameter -s to map the execution of single thread with that folder then that folder gets executed and another thread executes all other scenarios while 1 thread is doing no execution.
When the param -s is not used all 3 threads are in use running random scenarios.

How to restrict the execution of file A with one thread while rest of files get the other 2 threads running?
How can I specifically select which tags to run with a thread and the others with some other threads? (if that is possible with tags)

Thank you.

@gpapat26
Copy link
Author

gpapat26 commented Apr 9, 2021

My end end goal is lets say that I got 3 seperate folders that I want 1 thread for each to run. What should I type to run it , with tags or folder wise?
Thank you

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

No branches or pull requests

1 participant