Replies: 1 comment 2 replies
-
Just as an idea: what if run one more worker with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My current gig is using Azure Devops with a bunch of agent machines.
They are using a stable and well structured Cucumber-JS based framework for their functional regression test suites (API-based and F/E-based applications). However, with the number of tests running to the many hundreds/thousands for some test suites I have been looking to optimise and use parallel execution.
To enable this, I'm using Azure's parallel running system and Cucumber tags (IE. @thread1, @thread2 etc etc.... Cucumber called by each parallel thread along with the Thread number and Tags used to execute only the tests for that thread). The issue I have found is tests forget to use a tag. Or mistype a tag. And there is no way to easily know if a test is not being executed in pipeline due to a missed/mistyped thread tag.
I'm thinking how the current Cucumber-JS parallel execution mechanism could be integrated into a host devops environment - such as (but not limited to) Azure. When the devops pipeline is executed with a 'parallel' strategy, Azure clones the host execution image to each parallel hoster and off they go executing (Azure controllers know what 'thread' they are on by use of Azure provided JobPositionInPhase/TotalJobsInPhase - hence I use that when building the thread filter Tag on each).
Use of plugins sounds interesting. But would there be enough power in their use to allow thsi? And how would it work?
While anything is possible 'just bytes on a disk...', I'm not sure it would be 'easy' to do taking into a number of technical and non-technical issues. But it would very much be quite a game changer..... Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions