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

Unable to run tests sequentially in Cucumber #11

Open
sah082 opened this issue Jan 12, 2023 · 4 comments
Open

Unable to run tests sequentially in Cucumber #11

sah082 opened this issue Jan 12, 2023 · 4 comments
Assignees

Comments

@sah082
Copy link

sah082 commented Jan 12, 2023

In the com.cognizantsoftvision.maqs.cucumber.BaseCucumberTestNG class, line 89 sets '@dataProvider(parallel = true)'. This value in not editable. I have a case where I do not need to run in parallel and the testng.xml thread-count attributes seem to be getting overridden.

@sah082
Copy link
Author

sah082 commented Jan 19, 2023

Hi all, I just wanted to get an update on when this issue might be picked up. The BrowserStack support team is working with my team, to determine if sequential runs will be feasible for us in the near term. This could impact whether we extend or update our licensing. Any ETA is appreciated. Thanks.

@jason-edstrom jason-edstrom self-assigned this Jan 20, 2023
@create-issue-branch
Copy link

@jason-edstrom
Copy link
Contributor

For attributes in annotations, they need to be constant before the JVM even loads. Trying to dynamically configure the DataProvider attribute might not be possible.

@sah082
Copy link
Author

sah082 commented Jan 23, 2023

Hi Jason,

If we're unable to modify the DataProvider value, then what other configuration files can we use to force our threads down to 1? Currently using the testng.xml file to dictate threads, seems to have no impact.

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

2 participants