Comments (4)
Batches are for distributed execution, not parallel execution, and I don't know if they were ever used with Cucumber. Why don't you just use the Cucumber 6 parallel execution?
from serenity-cucumber-starter.
I'd be happy to take a look at it - I think I tried cucumbers built in methods in the past but that was on an older version.
Due to the nature of the software I'm testing (Java Swing-based instead of web), I'm not able to use parallel threads to run multiple tests per machine, but rather have to batch the tests out to a number of VM's that have been set up for that purpose.
from serenity-cucumber-starter.
I guess to be a little more specific - I have a Jenkins pipeline set up that programmatically generates the correct number of runner class files, based on the number of available VM's, before building and executing the test suite with the -Dbatches
arg set to that value.
The driver I have to use to automate interactions with the client (UFT from MicroFocus) has to be initialized to the specific machine being used to execute the tests, which I was previously able to work around thanks to batches running in their own forked environment.
I'm more than happy to improve upon that process if there's a better way - it's just that there's unfortunately no easy way to differentiate between multiple copies of the client open on the same system. Attempting to run multiple tests in parallel (via UFT) on the same machine causes one or more of the involved tests to crash with script errors (as in an actual script error popup message from Windows).
from serenity-cucumber-starter.
I've been trying to make things works using threads, but I can't seem to find any way to make UFT cooperate... is there no way to make Serenity or Cucumber run the different batches in their own Runtimes, rather than as a bunch of threads sharing the same runtime?
from serenity-cucumber-starter.
Related Issues (20)
- Advice on Migrating from Cucumber to Serenity BDD
- Serenity BDD: Html report is having more number of tests than expected HOT 9
- Serenity Gradle project- Bamboo integration issue
- Serenity BDD 3.2.5 and Cross browser configuration with Chrome and edge
- Issue serenity-cucumber-starter with serenity core 4.0.15 scaling with lambdatest to test an webpage
- Inquiry about Serenity and XRay Integration - GitHub Example HOT 1
- Not able to use the Ensure dependency HOT 12
- 'serenity.restart.browser.for.each=feature' don't work when ran using the JUnit Platform Suite Engine HOT 2
- When execution is done using '-Dcucumber.filter.tags' then Feature files which are not part of execution also comes on the reports dashboard HOT 3
- How to link a video name to the report? HOT 1
- How do i register an AbstractStepListener HOT 1
- Not able to run script in amazon Linux 2 instance HOT 2
- Does Serenity BDD support the latest Java 21 version? HOT 2
- Can we use Java 21.x version with Serenity 2.0.91 version? HOT 1
- serenity.take.screenshots property is being ignored during the tests execution
- Different results of running gradlew locally and on Bamboo
- Serenity Aggregate Rerun Report without duplicates
- Serenity BDD 4.1.20 - issue with rendering report with html script in examples.
- Report is not getting generated for all tests
- Getting NullPointerException for org.junit.Assert.assertTrue() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serenity-cucumber-starter.